public class SecurityUtil extends Object
This is mostly used by the SecurityDeployer, but the getContextID method is broadly shared, and the other public methods are used by the EJBSecurityManagaer and EJBDeployer.
| Modifier and Type | Field and Description |
|---|---|
static String |
repository |
| Constructor and Description |
|---|
SecurityUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getContextID(EjbBundleDescriptor ejbBundleDesc) |
static String |
getContextID(WebBundleDescriptor webBundleDescriptor) |
static SecurityRoleMapperFactory |
getRoleMapperFactory() |
static void |
removePolicy(String name)
Inform the policy module to take the named policy context out of service.
|
static void |
removeRoleMapper(DeploymentContext dc) |
public static final String repository
public static String getContextID(WebBundleDescriptor webBundleDescriptor)
public static String getContextID(EjbBundleDescriptor ejbBundleDesc)
public static void removePolicy(String name) throws IASSecurityException
String - name - the module id which serves to identify the corresponding policy context. The name shall not be
null.IASSecurityExceptionpublic static SecurityRoleMapperFactory getRoleMapperFactory()
public static void removeRoleMapper(DeploymentContext dc)
Copyright © 2019. All rights reserved.