com.ibm.btt.clientserver
Interface SecurityServiceInterface
public interface SecurityServiceInterface
This interface is used by the toolkit to check the user permissions to
execute an operation.
COPYRIGHT
static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
ACCESS_GRANTED
static final int ACCESS_GRANTED
- See Also:
- Constant Field Values
ACCESS_DENIED
static final int ACCESS_DENIED
- See Also:
- Constant Field Values
RESET_FAILED
static final int RESET_FAILED
- See Also:
- Constant Field Values
IS_AUTHROIZED_TO_EXECUTE
static final java.lang.String IS_AUTHROIZED_TO_EXECUTE
- See Also:
- Constant Field Values
RESET
static final java.lang.String RESET
- See Also:
- Constant Field Values
isAuthorizedToExecute
boolean isAuthorizedToExecute(SecurityContextInterface sc,
java.lang.String opName)
- Returns true if the user represented by the security context is permitted
to execute the operation
- Parameters:
sc
- A security contextopName
- An operation name
- Returns:
- boolean
reset
void reset()
throws ACLException
- Resets the security service
- Throws:
ACLException
(c) Copyright IBM Corporation 1998, 2011