public interface Authoriser
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getRoles(javax.security.auth.Subject subject) |
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
|
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)
java.lang.String[] getRoles(javax.security.auth.Subject subject)