|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectissrg.simplePERMIS.SimplePERMISTokenParser
This class implements the RoleBasedAuthTokenParser interface. It is
Field Summary | |
protected RoleHierarchyPolicy |
roleHierarchy
|
Constructor Summary | |
SimplePERMISTokenParser()
|
Method Summary | |
ParsedToken |
decode(java.lang.Object creds)
modified by romain 03/03/2006 This method decodes the credentials if possible. |
java.util.Map |
getAuthTokenParsingRules()
This method gets the Auth Token parsing rules. |
SignatureVerifier |
getSignatureVerifier()
This method gets the Signature Verifier used by the Token Parser. |
void |
setAuthTokenParsingRules(java.util.Map m)
This method sets the Auth Token parsing rules. |
void |
setRoleHierarchy(RoleHierarchyPolicy rhp)
Set the Role Hierarchy Policy. |
void |
setSignatureVerifier(SignatureVerifier sv)
This method sets the signature verifier for the parser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected RoleHierarchyPolicy roleHierarchy
Constructor Detail |
public SimplePERMISTokenParser()
Method Detail |
public void setRoleHierarchy(RoleHierarchyPolicy rhp)
setRoleHierarchy
in interface RoleBasedAuthTokenParser
rhp
- is a reference to the Role Hierarchypublic void setAuthTokenParsingRules(java.util.Map m)
setAuthTokenParsingRules
in interface AuthTokenParser
public java.util.Map getAuthTokenParsingRules()
getAuthTokenParsingRules
in interface AuthTokenParser
public ParsedToken decode(java.lang.Object creds) throws PbaException
decode
in interface AuthTokenParser
creds
- The credentials to be parsed.
PbaException
- if any error occurs; for example, the given object is
not a proper Authorisation Token that the implementation can handlepublic void setSignatureVerifier(SignatureVerifier sv)
setSignatureVerifier
in interface AuthTokenParser
public SignatureVerifier getSignatureVerifier()
AuthTokenParser
getSignatureVerifier
in interface AuthTokenParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |