FileDocCategorySizeDatePackage
MessageSecurityConfig.javaAPI DocGlassfish v2 API4446Fri May 04 22:30:34 BST 2007com.sun.appserv.management.config

MessageSecurityConfig

public interface MessageSecurityConfig implements com.sun.appserv.management.base.Container, NamedConfigElement
Configuration for the <message-security-config> element.

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
public static final String
AUTH_LAYER_HTTP_SERVLET
one of the legal values for auth-layer
public static final String
AUTH_LAYER_SOAP
one of the legal values for auth-layer
Constructors Summary
Methods Summary
public ProviderConfigcreateProviderConfig(java.lang.String providerId, java.lang.String providerType, java.lang.String className, java.util.Map reservedForFutureUse)
Create a new <provider-config>

Client providers must implement the com.sun.enterprise.security.jauth.ClientAuthModule interface.

Server-side providers must implement the A provider may implement both interfaces, but it must implement the interface corresponding to its provider type.

For example, default providers include:

  • com.sun.xml.wss.provider.ClientSecurityAuthModule
  • com.sun.xml.wss.provider.ServerSecurityAuthModule

param
providerId choose a self-explanatory and unique name for the provider
param
providerType either {@link ProviderConfig#PROVIDER_TYPE_CLIENT} or {@link ProviderConfig#PROVIDER_TYPE_SERVER}
param
className classname for the provider
param
reservedForFutureUse placeholder for future attributes
return
The proxy to the ProviderConfig MBean.

public java.lang.StringgetAuthLayer()
One of the values defined by {@link MessageLayerValues}.

public java.lang.StringgetDefaultClientProvider()

public java.lang.StringgetDefaultProvider()

public java.util.MapgetProviderConfigMap()

return
A map of ProviderConfig MBean proxies keyed on provider-id.

public voidremoveProviderConfig(java.lang.String providerId)
Removes an existing provider config.

param
providerId the id of the provider config to be removed.

public voidsetDefaultClientProvider(java.lang.String value)

public voidsetDefaultProvider(java.lang.String value)