|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityHandler
Implementation of the workflow management system requires that an implementation be provided of this interface which allows the various methods in the external API to be secured for specific users.
WorkflowManagement
Method Summary | |
---|---|
void |
checkAllowable(Function function,
Allowable target,
java.lang.String caller)
Check that the supplied function is allowable (using isAllowable) and throw a SecurityException if it is not allowable. |
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 |
isVisibleTo(Allowable target,
java.lang.String caller)
Answer true if the designated caller is allowed to know of the existence of the given target |
Method Detail |
---|
boolean isAllowable(Function function, Allowable target, java.lang.String caller) throws WorkflowSecurityException
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 allowedvoid checkAllowable(Function function, Allowable target, java.lang.String caller) throws WorkflowSecurityException
WorkflowSecurityException
SecurityExpressionComponent getSecurityExpressionComponent()
boolean isVisibleTo(Allowable target, java.lang.String caller)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |