Interface Authoriser
public interface Authoriser
Implementations of this interface supply the function of Authorisation Manager to an Ebase
 system.
- 
Method SummaryModifier and Type Method Description java.lang.String[]getRoles(javax.security.auth.Subject subject)booleanhasRole(java.lang.String roleName, javax.security.auth.Subject subject)Answers the question whether the user referred to by subject is associated with the named rolevoidinitialise(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)Called at system start up to initialise any required resourcesbooleanisAuthorised(SecurityAuthorisationRequest req, javax.security.auth.Subject subject)Answers the question whether the user referred to by subject is authorised for this request
- 
Method Details- 
isAuthorisedboolean isAuthorised(SecurityAuthorisationRequest req, javax.security.auth.Subject subject) throws com.ebasetech.ufs.security.authorisation.AuthorisationExceptionAnswers the question whether the user referred to by subject is authorised for this request- Throws:
- com.ebasetech.ufs.security.authorisation.AuthorisationException- if an error occurs calling the backend system
 
- 
hasRoleboolean hasRole(java.lang.String roleName, javax.security.auth.Subject subject) throws com.ebasetech.ufs.security.authorisation.AuthorisationExceptionAnswers the question whether the user referred to by subject is associated with the named role- Throws:
- com.ebasetech.ufs.security.authorisation.AuthorisationException
 
- 
initialisevoid initialise(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)Called at system start up to initialise any required resources
- 
getRolesjava.lang.String[] getRoles(javax.security.auth.Subject subject)
 
-