|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.gt4.PermisPDP
public class PermisPDP
Field Summary | |
---|---|
static java.lang.String |
GSP_LDAP_AC_KEY
|
static java.lang.String |
GSP_USE_GRID_SHIB
|
static java.lang.String |
IDP_PROVIDER_ID_KEY
|
Constructor Summary | |
---|---|
PermisPDP()
Creates a new instance of PermisPDP |
Method Summary | |
---|---|
boolean |
checkSignature(byte[] Value,
byte[] Signature,
java.lang.String algorithmID,
TokenLocator Signer)
This is a simple signature verification - always returns true. |
void |
close()
The standard PDP method; deinitialises the PDP. |
protected PBAAPI |
getADF(java.lang.String soa,
java.lang.String oid,
java.lang.String ldapURL,
java.lang.String uRL,
java.lang.String ldapAC_attribute,
java.lang.String ldapPKC_attribute,
java.lang.String rootCA)
This method retrieves an instance of PBAAPI for a given configuration. |
org.w3c.dom.Element |
getAttributes()
|
org.w3c.dom.Node |
getPolicy(org.w3c.dom.Node query)
The standard PDP method; returns null, since the behaviour was not defined by GT4 at the time of writing. |
java.lang.String[] |
getPolicyNames()
The standard PDP method; returns an empty array, since the behaviour was not defined by GT4 at the time of writing. |
org.w3c.dom.Element |
getResponse()
|
void |
initialize(PDPConfig config,
java.lang.String name,
java.lang.String id)
|
boolean |
isPermitted(javax.security.auth.Subject peerSubject,
MessageContext context,
javax.xml.namespace.QName operation)
|
org.w3c.dom.Node |
setPolicy(org.w3c.dom.Node policy)
The standard PDP method; returns null, since the behaviour was not defined by GT4 at the time of writing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GSP_LDAP_AC_KEY
public static final java.lang.String GSP_USE_GRID_SHIB
public static final java.lang.String IDP_PROVIDER_ID_KEY
Constructor Detail |
---|
public PermisPDP()
Method Detail |
---|
public java.lang.String[] getPolicyNames()
public org.w3c.dom.Node getPolicy(org.w3c.dom.Node query) throws InvalidPolicyException
InvalidPolicyException
public org.w3c.dom.Node setPolicy(org.w3c.dom.Node policy) throws InvalidPolicyException
InvalidPolicyException
public void close()
public boolean checkSignature(byte[] Value, byte[] Signature, java.lang.String algorithmID, TokenLocator Signer)
checkSignature
in interface SignatureVerifier
Value
- is the byte array that had been signedSignature
- is the byte array of the resulting signaturealgorithmID
- is the String representation (dotted form) of the
object identifier of the algorithm used for signingSigner
- is the TokenLocator of the signer
protected PBAAPI getADF(java.lang.String soa, java.lang.String oid, java.lang.String ldapURL, java.lang.String uRL, java.lang.String ldapAC_attribute, java.lang.String ldapPKC_attribute, java.lang.String rootCA) throws InitializeException
soa
- - the SOA name (LDAP DN)oid
- - the OID of the policyldapURL
- - the URL of the LDAP repository to use to retrieve
the policy and user ACsuRL
- - the URL of another repository where the user ACs are
stored (this may be different from the policy LDAP)ldapAC_attribute
- - the attribute name of the ACs in the
repositoriesldapPKC_attribute
- - the attribute name of the PKCs in the
repositoriesrootCA
- - the filename of the Root CA PKC; can be null, if no
signature verification is required (NOT RECOMMENDED FOR PRODUCTION
DEPLOYMENTS!)
InitializeException
public void initialize(PDPConfig config, java.lang.String name, java.lang.String id) throws InitializeException
InitializeException
public boolean isPermitted(javax.security.auth.Subject peerSubject, MessageContext context, javax.xml.namespace.QName operation) throws AuthorizationException
AuthorizationException
public org.w3c.dom.Element getResponse()
public org.w3c.dom.Element getAttributes() throws InitializeException
InitializeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |