com.ibm.websphere.security
Interface SAFRoleMapper
- public interface SAFRoleMapper
In order to have WebSphere instantiate and call an implementation of this
interface, the security custom property
Please note that this interface is non-standard and is likely to be
removed in future release.
The context is an instance of a
The context information can be used when building the profile
used for SAF authorization and delegation.
com.ibm.websphere.security.SAF.RoleMapper
must be set to
the name of the class to instantiate.
Field Summary
Modifier and Type
Field and Description
CELL_NAME
Map
key to use to obtain the cell name.
CELL_SHORT_NAME
Map
key to use to obtain the cell name.
DOMAIN_NAME
PROFILE_PREFIX
The context Map
key to use to obtain the domain name.
DOMAIN_TYPE
PROFILE_PREFIX
The context Map
key to use to determine whether or not to use a prefix for SAF profile names.
PROFILE_PREFIX
Map
key to use to determine the SAF profile prefix
SERVER_NAME
Map
key to use to obtain the server name.
SERVER_SHORT_NAME
Map
key to use to obtain the server short name.
Method Summary
Modifier and Type
Method and Description
getProfileFromRole(java.lang.String applicationName,java.lang.String role)
initialize(java.util.Properties context)
SAFRoleMapper
instance.
Field Detail
SERVER_NAME
SERVER_SHORT_NAME
Map
key to use to obtain the server short name.
CELL_NAME
Map
key to use to obtain the cell name.
CELL_SHORT_NAME
Map
key to use to obtain the cell name.
DOMAIN_NAME
PROFILE_PREFIX
The context Map
key to use to obtain the domain name.
DOMAIN_TYPE
PROFILE_PREFIX
The context Map
key to use to determine whether or not to use a prefix for SAF profile names.
PROFILE_PREFIX
Map
key to use to determine the SAF profile prefix
Method Detail
initialize
SAFRoleMapper
instance.
java.util.Properties
object that contains the following information:
context
- the server instance execution context
getProfileFromRole
EJBROLE
SAF class that will be used for
authorization and delegation decisions.
applicationName
- the application name from the
application deployment descriptor role
- the application defined role name from the
application deployment descriptor
Map
key to use to obtain the server name.