net.ponder2.policy
Class BasicAuthModule
java.lang.Object
net.ponder2.policy.AuthorisationModule
net.ponder2.policy.BasicAuthModule
public class BasicAuthModule
- extends AuthorisationModule
Method Summary |
void |
reply(short pepType,
char focus,
AuthPolicyHolder holder,
P2Object subjectOID,
P2Object targetOID,
java.lang.String operation,
P2Object[] args,
P2Object returnedValue)
Method that intercepts calls at PEP3 and PEP4 points. |
void |
request(short pepType,
char focus,
AuthPolicyHolder holder,
P2Object subjectOID,
P2Object targetOID,
java.lang.String operation,
P2Object[] args)
Method that intercepts request calls at PEP1 and PEP2 points. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicAuthModule
public BasicAuthModule(java.lang.String confStrgFile)
request
public void request(short pepType,
char focus,
AuthPolicyHolder holder,
P2Object subjectOID,
P2Object targetOID,
java.lang.String operation,
P2Object[] args)
throws Ponder2AuthorizationException
- Description copied from class:
AuthorisationModule
- Method that intercepts request calls at PEP1 and PEP2 points.
- Specified by:
request
in class AuthorisationModule
- Parameters:
pepType
- either PEP1 or PEP2focus
- 's' or 't' for source or targetholder
- the holder containing the policy for this operationsubjectOID
- the ID of the subjecttargetOID
- the ID of the targetoperation
- the operation invokedargs
- the arguments of the operation
- Throws:
Ponder2AuthorizationException
- if the operation is not authorised
reply
public void reply(short pepType,
char focus,
AuthPolicyHolder holder,
P2Object subjectOID,
P2Object targetOID,
java.lang.String operation,
P2Object[] args,
P2Object returnedValue)
throws Ponder2AuthorizationException
- Description copied from class:
AuthorisationModule
- Method that intercepts calls at PEP3 and PEP4 points.
- Specified by:
reply
in class AuthorisationModule
- Parameters:
pepType
- either PEP3 or PEP4focus
- 's' or 't' for source or targetholder
- the holder containing the policy for this operationsubjectOID
- the ID of the subjecttargetOID
- the ID of the targetoperation
- the operation invokedargs
- the arguments of the operationreturnedValue
- the value returned by the operation execution
- Throws:
Ponder2AuthorizationException
- if the operation is not authorised
Copyright © 2008 Imperial College. All Rights Reserved.