com.sun.enterprise.config.serverbeans
Interface ProviderConfig

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

public interface ProviderConfig
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

The provider-config element defines the configuration of an authentication provider A provider-config with no contained request-policy or response-policy sub-elements, is a null provider. The container will not instantiate or invoke the methods of a null provider, and as such the implementation class of a null provider need not exist


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Method Summary
 java.lang.String getClassName()
          Gets the value of the className property.
 java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties.
 java.lang.String getProviderId()
          Gets the value of the providerId property.
 java.lang.String getProviderType()
          Gets the value of the providerType property.
 RequestPolicy getRequestPolicy()
          Gets the value of the requestPolicy property.
 ResponsePolicy getResponsePolicy()
          Gets the value of the responsePolicy property.
 void setClassName(java.lang.String value)
          Sets the value of the className property.
 void setProviderId(java.lang.String value)
          Sets the value of the providerId property.
 void setProviderType(java.lang.String value)
          Sets the value of the providerType property.
 void setRequestPolicy(RequestPolicy value)
          Sets the value of the requestPolicy property.
 void setResponsePolicy(ResponsePolicy value)
          Sets the value of the responsePolicy property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getProviderId

@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*")
@NotNull
java.lang.String getProviderId()
Gets the value of the providerId property. Identifier used to uniquely identify this provider-config element

Returns:
possible object is String

setProviderId

void setProviderId(java.lang.String value)
                   throws java.beans.PropertyVetoException
Sets the value of the providerId property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getProviderType

@NotNull
@Pattern(regexp="(client|server|client-server)")
java.lang.String getProviderType()
Gets the value of the providerType property. Defines whether the provider is a client authentication provider or a server authentication provider.

Returns:
possible object is String

setProviderType

void setProviderType(java.lang.String value)
                     throws java.beans.PropertyVetoException
Sets the value of the providerType property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getClassName

@NotNull
@JavaClassName
java.lang.String getClassName()
Gets the value of the className property. Defines the java implementation class of the provider. Client authentication providers must implement the com.sun.enterprise.security.jauth.ClientAuthModule interface. Server-side providers must implement the com.sun.enterprise.security.jauth.ServerAuthModule interface. A provider may implement both interfaces, but it must implement the interface corresponding to its provider type.

Returns:
possible object is String

setClassName

void setClassName(java.lang.String value)
                  throws java.beans.PropertyVetoException
Sets the value of the className property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getRequestPolicy

RequestPolicy getRequestPolicy()
Gets the value of the requestPolicy property. Defines the authentication policy requirements associated with request processing performed by the authentication provider

Returns:
possible object is RequestPolicy

setRequestPolicy

void setRequestPolicy(RequestPolicy value)
                      throws java.beans.PropertyVetoException
Sets the value of the requestPolicy property.

Parameters:
value - allowed object is RequestPolicy
Throws:
java.beans.PropertyVetoException

getResponsePolicy

ResponsePolicy getResponsePolicy()
Gets the value of the responsePolicy property. Defines the authentication policy requirements associated with the response processing performed by the authentication provider.

Returns:
possible object is ResponsePolicy

setResponsePolicy

void setResponsePolicy(ResponsePolicy value)
                       throws java.beans.PropertyVetoException
Sets the value of the responsePolicy property.

Parameters:
value - allowed object is ResponsePolicy
Throws:
java.beans.PropertyVetoException

getProperty

@PropertiesDesc(props={@PropertyDesc(name="security.config",defaultValue="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml",description="Specifies the location of the message security configuration file"),@PropertyDesc(name="debug",defaultValue="false",dataType=java.lang.Boolean.class,description="Enables dumping of server provider debug messages to the server log"),@PropertyDesc(name="dynamic.username.password",defaultValue="false",dataType=java.lang.Boolean.class,description="Signals the provider runtime to collect the user name and password from the CallbackHandler for each request. If false, the user name and password for wsse:UsernameToken(s) is collected once, during module initialization. Applicable only for a ClientAuthModule"),@PropertyDesc(name="encryption.key.alias",defaultValue="s1as",description="Specifies the encryption key used by the provider. The key is identified by its keystore alias"),@PropertyDesc(name="signature.key.alias",defaultValue="s1as",description="Specifies the signature key used by the provider. The key is identified by its keystore alias")})
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
Properties.

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.