IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

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.


Field Summary
static int ACCESS_DENIED
           
static int ACCESS_GRANTED
           
static java.lang.String COPYRIGHT
           
static java.lang.String IS_AUTHROIZED_TO_EXECUTE
           
static java.lang.String RESET
           
static int RESET_FAILED
           
 
Method Summary
 boolean isAuthorizedToExecute(SecurityContextInterface sc, java.lang.String opName)
          Returns true if the user represented by the security context is permitted to execute the operation
 void reset()
          Resets the security service
 

Field Detail

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
Method Detail

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 context
opName - An operation name
Returns:
boolean

reset

void reset()
           throws ACLException
Resets the security service

Throws:
ACLException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011