|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ebasetech.ufs.workflow.security.DefaultSecurityHandler com.ebasetech.ufs.workflow.security.example.EbaseSecurityHandler
public class EbaseSecurityHandler
Nested Class Summary | |
---|---|
class |
EbaseSecurityHandler.SecurityExpressionComponentImpl
|
Field Summary |
---|
Fields inherited from interface com.ebasetech.api.workflow.Constants |
---|
ASSIGNMENT_ERROR, BAD_PARAMETER_VALUE_TYPE, CANNOT_LOAD_OBJECT, COLON, DOWNCAST_ERROR, EMBEDDED_SQL_EXCEPTION, ENACTMENT_INITIALISATION_EXCEPTION, ENACTMENT_NOT_ACTIVE, FAILED_SETTING_OUT_PARAM, ILLFORMED_PARAMETERS, INVALID_ASSIGNMENT, INVALID_ASSIGNMENT_EXCEPTION, INVALID_COMPLETION, INVALID_POST_EXCEPTION, INVALID_STATE_TRANSITION, INVALID_STATE_TRANSITION_EXCEPTION, MISSING_CALLER, NO_ROLLBACK, NO_SUCH_TASK, NULL_RESOURCE, NULL_TASK_NAME, NULL_VARIABLE_NAME, POOL_ASSIGNMENT_FAILED, PROCESS_ATTRIBUTE_EXCEPTION, PROCESS_STRUCTURE_EXCEPTION, RESOURCE_MANAGEMENT_EXCEPTION, SCRIPT_EXCEPTION_ERROR, SECURITY_EXCEPTION, SETUP_PROPERTIES_EXCEPTION, TRANSACTION_EXCEPTION, UNINITIALISED |
Constructor Summary | |
---|---|
EbaseSecurityHandler()
|
Method Summary | |
---|---|
javax.security.auth.Subject |
completeSubject(java.lang.String userId)
|
SecurityExpressionComponent |
getSecurityExpressionComponent()
Get the component to be used to display and edit security expressions in the designer |
boolean |
isAllowable(Function function,
Allowable target,
java.lang.String caller)
Answer true if the designated function is allowed to be carried out on the supplied target by the defined caller |
boolean |
isAuthorised(java.lang.String function,
Allowable target,
java.lang.String caller)
|
boolean |
isVisibleTo(Allowable target,
java.lang.String caller)
Answer true if the designated caller is allowed to know of the existence of the given target |
Methods inherited from class com.ebasetech.ufs.workflow.security.DefaultSecurityHandler |
---|
checkAllowable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EbaseSecurityHandler()
Method Detail |
---|
public boolean isAllowable(Function function, Allowable target, java.lang.String caller) throws WorkflowSecurityException
SecurityHandler
function
- The function to be carried outtarget
- The target of that function, or null if the target is essentially the entire WFMScaller
- The id of the user carrying out the defined function
WorkflowSecurityException
- if there is some exception that means the function cannot be allowedpublic boolean isVisibleTo(Allowable target, java.lang.String caller)
SecurityHandler
public boolean isAuthorised(java.lang.String function, Allowable target, java.lang.String caller)
public javax.security.auth.Subject completeSubject(java.lang.String userId) throws com.ebasetech.ufs.security.authentication.AuthenticationException
com.ebasetech.ufs.security.authentication.AuthenticationException
public SecurityExpressionComponent getSecurityExpressionComponent()
SecurityHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |