|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authoriser
Implementations of this interface supply the function of Authorisation Manager to an Ebase system.
Method Summary | |
---|---|
boolean |
hasRole(java.lang.String roleName,
javax.security.auth.Subject subject)
Answers the question whether the user referred to by subject is associated with the named role |
void |
initialise(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
Called at system start up to initialise any required resources |
boolean |
isAuthorised(SecurityAuthorisationRequest req,
javax.security.auth.Subject subject)
Answers the question whether the user referred to by subject is authorised for this request |
Method Detail |
---|
boolean isAuthorised(SecurityAuthorisationRequest req, javax.security.auth.Subject subject) throws com.ebasetech.ufs.security.authorisation.AuthorisationException
AuthorisationException
- if an error occurs calling the backend systemboolean hasRole(java.lang.String roleName, javax.security.auth.Subject subject) throws com.ebasetech.ufs.security.authorisation.AuthorisationException
com.ebasetech.ufs.security.authorisation.AuthorisationException
void initialise(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |