net.ponder2.policy
Class AuthPolicyHolder

java.lang.Object
  extended by net.ponder2.policy.AuthPolicyHolder

public class AuthPolicyHolder
extends java.lang.Object

Author:
gio This is a class that holds the policy that was found using the search method. This is done at PEP1 and PEP2. Once the policy is found, this is stored in the holder to be used for the respective returning part (PEP4 and PEP3)

Constructor Summary
AuthPolicyHolder()
           
 
Method Summary
 AuthorisationPolicy getIncomingAuthPol()
          to retrieve the policy used in the incoming part of a request
 AuthorisationPolicy getOutgoingAuthPol()
          to retrieve the policy used in the outgoing part of a request
 void setIncomingAuthPol(AuthorisationPolicy authPol)
          to set the policy used in the incoming request
 void setOutgoingAuthPol(AuthorisationPolicy outgoingAuthPol)
          to set the policy used for the outgoing part of the request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthPolicyHolder

public AuthPolicyHolder()
Method Detail

getIncomingAuthPol

public AuthorisationPolicy getIncomingAuthPol()
to retrieve the policy used in the incoming part of a request

Returns:
the policy

setIncomingAuthPol

public void setIncomingAuthPol(AuthorisationPolicy authPol)
to set the policy used in the incoming request

Parameters:
authPol - the policy to be held

getOutgoingAuthPol

public AuthorisationPolicy getOutgoingAuthPol()
to retrieve the policy used in the outgoing part of a request

Returns:
the policy

setOutgoingAuthPol

public void setOutgoingAuthPol(AuthorisationPolicy outgoingAuthPol)
to set the policy used for the outgoing part of the request

Parameters:
outgoingAuthPol -


Copyright © 2008 Imperial College. All Rights Reserved.