at.spardat.xma.security
Interface Authorisation
- public interface Authorisation
This is the interface of all authorisation plugins.
Authorisation plugins are used to check if a given
user is allowed to call a given function.
|
Method Summary |
boolean |
isAuthorized(javax.security.auth.Subject subject,
java.lang.String function)
Check if the given user is alowed to perform the given function. |
isAuthorized
public boolean isAuthorized(javax.security.auth.Subject subject,
java.lang.String function)
- Check if the given user is alowed to perform the given function.
- Parameters:
subject - the subject as returned by the LoginModulefunction - a String identifying the desired operation
- Returns:
- true if the user is allowed to perform the function
false otherwise