Methods Summary |
---|
public AuditModuleConfig | createAuditModuleConfig(java.lang.String name, java.lang.String className, boolean auditOn, java.util.Map reservedForFutureUse)Create a new <audit-module>
|
public AuthRealmConfig | createAuthRealmConfig(java.lang.String name, java.lang.String classname, java.util.Map optional)Create a new AuthRealmConfig. If you are creating a File Realm using
{@link AuthRealmConfig#DEFAULT_REALM_CLASSNAME}, you will also want to specify the
property {@link AuthRealmConfig#KEY_FILE_PROPERTY_KEY}, typically with a template String
such as {@link AuthRealmConfig#KEY_FILE_PREFIX}my-key-file.
|
public JACCProviderConfig | createJACCProviderConfig(java.lang.String name, java.lang.String policyProvider, java.lang.String policyConfigurationFactoryProvider, java.util.Map reservedForFutureUse)Create a new <jacc-provider>
|
public MessageSecurityConfig | createMessageSecurityConfig(java.lang.String authLayer, java.lang.String providerID, java.lang.String providerType, java.lang.String providerClassname, java.util.Map optional)Create a new <message-security-config>. Because there must exist at least one
{@link ProviderConfig}, you must specify the parameters for one such item. Additional
providers may be created using {@link MessageSecurityConfig#createProviderConfig}.
Optional values include {@link MessageSecurityConfigKeys#DEFAULT_PROVIDER_KEY} and
{@link MessageSecurityConfigKeys#DefaultClientProvider}.
See {@link MessageSecurityConfig#createProviderConfig} for more details on parameters
|
public boolean | getActivateDefaultPrincipalToRoleMapping()Causes the appserver to apply a default principal to role
mapping, to any application that does not have an application
specific mapping defined. Every role is mapped to a
same-named (as the role) instance of a
java.security.Principal implementation class (see
mapped-principal-class). This behavior is similar to that of
Tomcat servlet container. It is off by default.
|
public boolean | getAuditEnabled()
|
public java.util.Map | getAuditModuleConfigMap()Calls Container.getContaineeMap( XTypes.AUDIT_MODULE_CONFIG ).
|
public java.lang.String | getAuditModules()
|
public java.util.Map | getAuthRealmConfigMap()Calls Container.getContaineeMap( XTypes.AUTH_REALM_CONFIG ).
|
public java.lang.String | getDefaultPrincipal()
|
public java.lang.String | getDefaultPrincipalPassword()
|
public java.lang.String | getDefaultRealm()
|
public java.lang.String | getJACC()
|
public java.util.Map | getJACCProviderConfigMap()Calls Container.getContaineeMap( XTypes.JACC_PROVIDER_CONFIG ).
|
public java.lang.String | getMappedPrincipalClass()This attribute is used to customize the
java.security.Principal implementation class used in the
default principal to role mapping. This attribute is
optional. When it is not specified,
com.sun.enterprise.deployment.Group implementation of
java.security.Principal is used. The value of this attribute
is only relevant when the activate-default
principal-to-role-mapping attribute is set to true.
|
public java.util.Map | getMessageSecurityConfigMap()Calls Container.getContaineeMap( XTypes.MESSAGE_SECURITY_CONFIG ).
|
public void | removeAuditModuleConfig(java.lang.String name)Removes an <audit-module> element.
|
public void | removeAuthRealmConfig(java.lang.String name)Removes an auth-realm element.
|
public void | removeJACCProviderConfig(java.lang.String name)Removes a jacc-provider element.
|
public void | removeMessageSecurityConfig(java.lang.String authLayer)Removes message-security-config element.
|
public void | setActivateDefaultPrincipalToRoleMapping(boolean enabled)
|
public void | setAuditEnabled(boolean value)
|
public void | setAuditModules(java.lang.String value)
|
public void | setDefaultPrincipal(java.lang.String value)
|
public void | setDefaultPrincipalPassword(java.lang.String value)
|
public void | setDefaultRealm(java.lang.String value)
|
public void | setJACC(java.lang.String value)
|
public void | setMappedPrincipalClass(java.lang.String theClass)
|