nbi.xmlsec.biocase.protocol.filter
Class RBACFilterParameter

java.lang.Object
  extended bynbi.xmlsec.biocase.protocol.filter.PDPFilterParameter
      extended bynbi.xmlsec.biocase.protocol.filter.RBACFilterParameter

public class RBACFilterParameter
extends PDPFilterParameter

Container class to store Parameters for the RBACFilter.

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)  String pdpAction
          PDP action to be checked with the pdp.
 
Fields inherited from class nbi.xmlsec.biocase.protocol.filter.PDPFilterParameter
 
Constructor Summary
RBACFilterParameter(String action, RBACPDP pdp, Set roles, Diagnostics diagnostics)
          Inits the RBACFilterParameter.
 
Method Summary
private  void checkInit()
          Checks the correct initialisation of the class initialisation parameters.
 Diagnostics getDiagnostics()
          Gets the diagnostics
 String getPdpAction()
          Gets the pdpAction
 void setDiagnostics(Diagnostics diagnostics)
          Sets diagnostics
 void setPdpAction(String pdpAction)
          Sets pdpAction
 
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

pdpAction

String pdpAction
PDP action to be checked with the pdp.


diagnostics

Diagnostics diagnostics
Diagnostics to be filled up with PDP evaluation results

Constructor Detail

RBACFilterParameter

public RBACFilterParameter(String action,
                           RBACPDP pdp,
                           Set roles,
                           Diagnostics diagnostics)
Inits the RBACFilterParameter. Arguments must not be null.

Parameters:
action - PDP action to be checked for with the pdp.
pdp - RBACPDPto be used for access control evaluation.
roles - Set of roles to be evaluated with the pdp.
diagnostics - Diagnostics to be filled up with PDP evaluation results.
Method Detail

checkInit

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


getDiagnostics

public Diagnostics getDiagnostics()
Gets the diagnostics

Returns:
Returns the diagnostics.

setDiagnostics

public void setDiagnostics(Diagnostics diagnostics)
Sets diagnostics

Parameters:
diagnostics - The diagnostics to set.

getPdpAction

public String getPdpAction()
Gets the pdpAction

Returns:
Returns the pdpAction.

setPdpAction

public void setPdpAction(String pdpAction)
Sets pdpAction

Parameters:
pdpAction - The pdpAction to set.


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