|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityServiceConfig
Configuration for the <security-service> element.
Field Summary | |
---|---|
static String |
J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType() . |
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess |
---|
PROPERTY_PREFIX |
Fields inherited from interface com.sun.appserv.management.config.AMXConfig |
---|
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE |
Fields inherited from interface com.sun.appserv.management.base.AMX |
---|
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME |
Fields inherited from interface com.sun.appserv.management.base.Container |
---|
ATTR_CONTAINEE_J2EE_TYPES |
Method Summary | |
---|---|
AuditModuleConfig |
createAuditModuleConfig(String name,
String className,
boolean auditOn,
Map<String,String> reservedForFutureUse)
Create a new <audit-module> |
AuthRealmConfig |
createAuthRealmConfig(String name,
String classname,
Map<String,String> optional)
Create a new AuthRealmConfig. |
JACCProviderConfig |
createJACCProviderConfig(String name,
String policyProvider,
String policyConfigurationFactoryProvider,
Map reservedForFutureUse)
Create a new <jacc-provider> |
MessageSecurityConfig |
createMessageSecurityConfig(String authLayer,
Map<String,String> reserved)
Create a new <message-security-config> |
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. |
String |
getAnonymousRole()
|
boolean |
getAuditEnabled()
|
Map<String,AuditModuleConfig> |
getAuditModuleConfigMap()
Calls Container.getContaineeMap( XTypes.AUDIT_MODULE_CONFIG ). |
String |
getAuditModules()
|
Map<String,AuthRealmConfig> |
getAuthRealmConfigMap()
Calls Container.getContaineeMap( XTypes.AUTH_REALM_CONFIG ). |
String |
getDefaultPrincipal()
|
String |
getDefaultPrincipalPassword()
|
String |
getDefaultRealm()
|
String |
getJACC()
|
Map<String,JACCProviderConfig> |
getJACCProviderConfigMap()
Calls Container.getContaineeMap( XTypes.JACC_PROVIDER_CONFIG ). |
String |
getMappedPrincipalClass()
This attribute is used to customize the java.security.Principal implementation class used in the default principal to role mapping. |
Map<String,MessageSecurityConfig> |
getMessageSecurityConfigMap()
Calls Container.getContaineeMap( XTypes.MESSAGE_SECURITY_CONFIG ). |
void |
removeAuditModuleConfig(String name)
Removes an <audit-module> element. |
void |
removeAuthRealmConfig(String name)
Removes an auth-realm element. |
void |
removeJACCProviderConfig(String name)
Removes a jacc-provider element. |
void |
removeMessageSecurityConfig(String authLayer)
Removes message-security-config element. |
void |
setActivateDefaultPrincipalToRoleMapping(boolean enabled)
|
void |
setAnonymousRole(String value)
|
void |
setAuditEnabled(boolean value)
|
void |
setAuditModules(String value)
|
void |
setDefaultPrincipal(String value)
|
void |
setDefaultPrincipalPassword(String value)
|
void |
setDefaultRealm(String value)
|
void |
setJACC(String value)
|
void |
setMappedPrincipalClass(String theClass)
|
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess |
---|
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue |
Methods inherited from interface com.sun.appserv.management.base.AMX |
---|
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS |
Methods inherited from interface javax.management.NotificationEmitter |
---|
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
---|
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel |
Methods inherited from interface com.sun.appserv.management.base.Container |
---|
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap |
Field Detail |
---|
static final String J2EE_TYPE
AMX.getJ2EEType()
.
Method Detail |
---|
String getAnonymousRole()
void setAnonymousRole(String value)
boolean getAuditEnabled()
void setAuditEnabled(boolean value)
String getAuditModules()
void setAuditModules(String value)
String getDefaultPrincipalPassword()
void setDefaultPrincipalPassword(String value)
String getDefaultPrincipal()
void setDefaultPrincipal(String value)
String getDefaultRealm()
void setDefaultRealm(String value)
String getJACC()
void setJACC(String value)
String getMappedPrincipalClass()
void setMappedPrincipalClass(String theClass)
getMappedPrincipalClass()
boolean getActivateDefaultPrincipalToRoleMapping()
void setActivateDefaultPrincipalToRoleMapping(boolean enabled)
getActivateDefaultPrincipalToRoleMapping()
Map<String,JACCProviderConfig> getJACCProviderConfigMap()
Container.getContaineeMap(java.lang.String)
JACCProviderConfig createJACCProviderConfig(String name, String policyProvider, String policyConfigurationFactoryProvider, Map reservedForFutureUse)
name
- name of the <jacc-provider>policyProvider
- a classnamepolicyConfigurationFactoryProvider
- a classnamereservedForFutureUse
- reserved for future use
void removeJACCProviderConfig(String name)
name
- The name (id) of the jacc-provider to be removed.Map<String,AuthRealmConfig> getAuthRealmConfigMap()
Container.getContaineeMap(java.lang.String)
AuthRealmConfig createAuthRealmConfig(String name, String classname, Map<String,String> optional)
AuthRealmConfig.DEFAULT_REALM_CLASSNAME
, you will also want to specify the
property AuthRealmConfig.KEY_FILE_PROPERTY_KEY
, typically with a template String
such as AuthRealmConfig.KEY_FILE_PREFIX
my-key-file.
name
- name of the <auth-realm>classname
- implementing class, eg AuthRealmConfig.DEFAULT_REALM_CLASSNAME
optional
- optional parameters (properties)
void removeAuthRealmConfig(String name)
name
- name of the auth-realmMap<String,AuditModuleConfig> getAuditModuleConfigMap()
Container.getContaineeMap(java.lang.String)
AuditModuleConfig createAuditModuleConfig(String name, String className, boolean auditOn, Map<String,String> reservedForFutureUse)
name
- name of the <audit-moduleclassName
- implementing classauditOn
- true if auditing is on (property)reservedForFutureUse
- reserved for future usevoid removeAuditModuleConfig(String name)
name
- name of the audit-moduleMap<String,MessageSecurityConfig> getMessageSecurityConfigMap()
Container.getContaineeMap(java.lang.String)
MessageSecurityConfig createMessageSecurityConfig(String authLayer, Map<String,String> reserved)
authLayer
- reserved
-
MessageSecurityConfigKeys
void removeMessageSecurityConfig(String authLayer)
authLayer
-
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.