| org.obe.spi.service.SecurityRealm
All known Subclasses: org.obe.server.j2ee.repository.JBossUsersRolesRealm, org.obe.runtime.participant.BasicSecurityRealm,
SecurityRealm | public interface SecurityRealm extends WorkflowService(Code) | | 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.
author: Adrian Price |
Field Summary | |
int | GROUP Bitmask value to select group principals. | String | SERVICE_NAME | int | USER Bitmask value to select user principals. | String | XPDL_NAME An XPDL ExternalReference to the OBE security realm interface. |
GROUP | int GROUP(Code) | | Bitmask value to select group principals.
|
USER | int USER(Code) | | Bitmask value to select user principals.
|
XPDL_NAME | String XPDL_NAME(Code) | | An XPDL ExternalReference to the OBE security realm interface.
|
resolveParticipants | Principal[] resolveParticipants(String name, ProcessInstance processInstance) throws RepositoryException(Code) | | Resolves an abstract participant into concrete security principals. If
name resolves to a java.security.acl.Group ,
this group should be returned intact: group expansion will be performed
by the caller, if necessary.
Parameters: name - The participant name. Parameters: processInstance - The process instance within which to resolve themapping. This parameter is present to enable implementations to provideprocess-instance-specific Role:Group mappings. The runtime Principals to which the performer is mapped. throws: ObjectNotFoundException - if a Principal with that name is notdefined in the realm. throws: RepositoryException - if some other error occurred. |
|
|