nbi.xmlsec.biocase.protocol.filter
Class ContentFilterParameter

java.lang.Object
  extended bynbi.xmlsec.biocase.protocol.filter.PDPFilterParameter
      extended bynbi.xmlsec.biocase.protocol.filter.ResponseFilterParameter
          extended bynbi.xmlsec.biocase.protocol.filter.ContentFilterParameter

public class ContentFilterParameter
extends ResponseFilterParameter

Container class to store Parameters for the ContentFilter.

Since:
Version:
$Revision: 1.6 $
Author:
Lutz Suhrbier

Field Summary
(package private)  Diagnostics diagnostics
          Diagnostics to be filled up with PDP evaluation results
(package private)  Header responseHeader
           
 
Fields inherited from class nbi.xmlsec.biocase.protocol.filter.ResponseFilterParameter
 
Fields inherited from class nbi.xmlsec.biocase.protocol.filter.PDPFilterParameter
 
Constructor Summary
(package private) ContentFilterParameter(Request request, Header header, RBACPDP pdp, Set roles, Diagnostics diagnostics)
          Inits the ContentFilterParameter.
 
Method Summary
private  void checkInit()
          Checks the correct initialisation of the initialisation parameters.
 Diagnostics getDiagnostics()
          Gets the diagnostics
 Header getResponseHeader()
          Gets the responseHeader
 void setDiagnostics(Diagnostics diagnostics)
          Sets diagnostics
 
Methods inherited from class nbi.xmlsec.biocase.protocol.filter.ResponseFilterParameter
getRequest
 
Methods inherited from class nbi.xmlsec.biocase.protocol.filter.PDPFilterParameter
getPdp, getRoles, getRoles, getRolesAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

responseHeader

Header responseHeader

diagnostics

Diagnostics diagnostics
Diagnostics to be filled up with PDP evaluation results

Constructor Detail

ContentFilterParameter

ContentFilterParameter(Request request,
                       Header header,
                       RBACPDP pdp,
                       Set roles,
                       Diagnostics diagnostics)
Inits the ContentFilterParameter. Arguments must not be null.

Parameters:
request - Request causing this response.
header - Parsed Header of this response.
pdp - PDP to evaluate responses.
roles - Roles to be evaluated with the PDP
Method Detail

checkInit

private void checkInit()
Checks the correct initialisation of the initialisation parameters.


getResponseHeader

public Header getResponseHeader()
Gets the responseHeader

Returns:
Returns the responseHeader.

setDiagnostics

public void setDiagnostics(Diagnostics diagnostics)
Sets diagnostics

Parameters:
diagnostics - The diagnostics to set.

getDiagnostics

public Diagnostics getDiagnostics()
Gets the diagnostics

Returns:
Returns the diagnostics.


Copyright © 2006 Lutz Suhrbier, Freie Universitšt Berlin. All Rights Reserved.