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
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
ACCESS_GRANTED
public static final int ACCESS_GRANTED
- See Also:
- Constant Field Values
ACCESS_DENIED
public static final int ACCESS_DENIED
- See Also:
- Constant Field Values
RESET_FAILED
public static final int RESET_FAILED
- See Also:
- Constant Field Values
IS_AUTHROIZED_TO_EXECUTE
public static final java.lang.String IS_AUTHROIZED_TO_EXECUTE
- See Also:
- Constant Field Values
RESET
public static final java.lang.String RESET
- See Also:
- Constant Field Values
isAuthorizedToExecute
public 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
public void reset()
throws ACLException
- Resets the security service
- Throws:
ACLException
(c) Copyright IBM Corporation 1998, 2005