|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Standard interface to a security realm. The security realm is used to resolve the abstract participants in the process definition into actual users and groups at runtime.
| Field Summary | |
static int |
GROUP
Bitmask value to select group principals. |
static java.lang.String |
SERVICE_NAME
|
static int |
USER
Bitmask value to select user principals. |
static java.lang.String |
XPDL_NAME
An XPDL ExternalReference to the OBE security realm interface. |
| Method Summary | |
java.security.Principal |
findPrincipal(java.lang.String name)
Finds the named Principal. |
java.security.Principal[] |
findPrincipals(int mask)
Finds principals defined in the realm. |
java.security.Principal[] |
resolveParticipants(java.lang.String name,
ProcessInstance processInstance)
Resolves an abstract participant into concrete security principals. |
| Methods inherited from interface org.obe.spi.WorkflowService |
exit, getServiceManager, getServiceName, init |
| Field Detail |
public static final java.lang.String SERVICE_NAME
public static final int USER
public static final int GROUP
public static final java.lang.String XPDL_NAME
| Method Detail |
public java.security.Principal findPrincipal(java.lang.String name)
throws RepositoryException
name - The unique Principal name.
ObjectNotFoundException - if a Principal with that name is not
defined in the realm.
RepositoryException - if any other error occurs.
public java.security.Principal[] findPrincipals(int mask)
throws RepositoryException
mask - Bitmask constructed by logically ORing USER
and GROUP.
RepositoryException - if any error occurs.
public java.security.Principal[] resolveParticipants(java.lang.String name,
ProcessInstance processInstance)
throws RepositoryException
name resolves to a java.security.acl.Group,
this group should be returned intact: group expansion will be performed
by the caller, if necessary.
name - The participant name.processInstance - The process instance within which to resolve the
mapping. This parameter is present to enable implementations to provide
process-instance-specific Role:Group mappings.
ObjectNotFoundException - if a Principal with that name is not
defined in the realm.
RepositoryException - if some other error occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||