|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthzTokenParser
This interface defines the method needed for extracting the known Credentials from Authorisation Tokens. It should not be aware of delegation, it simply extracts the purported set of credentials. The correct allocation of credentials by the issuer is checked by the Allocation Policy.
Method Summary | |
---|---|
ParsedToken |
decode(java.lang.Object at)
This method decodes the Authorisation Token into internal representation. |
java.util.Map |
getAuthzTokenParsingRules()
This method returns the Auth Token parsing rules currently used by the parser. |
SignatureVerifier |
getSignatureVerifier()
This method gets the Signature Verifier used by the Token Parser. |
void |
setAuthzTokenParsingRules(java.util.Map rules)
This method sets the Auth Token parsing rules. |
void |
setSignatureVerifier(SignatureVerifier signatureVerifier)
This method sets the Signature Verifier to be used by the Token Parser. |
Method Detail |
---|
ParsedToken decode(java.lang.Object at) throws PbaException
at
- - implementation-specific object returned by the Repository; it is
the authorisation token to be decoded
PbaException
- if any error occurs; for example, the given object is
not a proper Authorisation Token that the implementation can handlejava.util.Map getAuthzTokenParsingRules()
void setAuthzTokenParsingRules(java.util.Map rules)
void setSignatureVerifier(SignatureVerifier signatureVerifier)
SignatureVerifier getSignatureVerifier()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |