|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthzTokenRepository
This interface specifies the way Authorisation Tokens should be retrieved. The implementations should return tokens that can be parsed from which the credentials can then be extracted.
Method Summary | |
---|---|
javax.naming.directory.Attribute |
getAuthTokens(TokenLocator subject)
This method retrieves Authorisation Tokens (as directory attributes) for a given entry from the repository. |
ParsedToken[] |
getParsedAuthTokens(TokenLocator subject)
This method returns the all the related tokens in a parsed form. |
Method Detail |
---|
javax.naming.directory.Attribute getAuthTokens(TokenLocator subject) throws PbaException
subject
- is the TokenLocator of the holder of the authorisation token
PbaException
- in case of any error while retrieving the tokensParsedToken[] getParsedAuthTokens(TokenLocator subject) throws PbaException
Effectively, this method should be the same as calling getAuthTokens, then parsing them with a preconfigured AuthTokenParser, ignoring the malformed Authorization Tokens.
subject
- is the TokenLocator of the holder of the authorisation token
PbaException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |