Interface ProviderConfig
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.types.PropertyBag
public interface ProviderConfig
extends org.jvnet.hk2.config.ConfigBeanProxy, 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.DuckNested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull StringGets the value of the className property.List<org.jvnet.hk2.config.types.Property>Properties.@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",message="Pattern: [A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") @NotNull StringGets the value of the providerId property.@NotNull @Pattern(regexp="(client|server|client-server)",message="Valid values: (client|server|client-server)") StringGets the value of the providerType property.Gets the value of the requestPolicy property.Gets the value of the responsePolicy property.voidsetClassName(String value) Sets the value of the className property.voidsetProviderId(String value) Sets the value of the providerId property.voidsetProviderType(String value) Sets the value of the providerType property.voidsetRequestPolicy(RequestPolicy value) Sets the value of the requestPolicy property.voidsetResponsePolicy(ResponsePolicy value) Sets the value of the responsePolicy property.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Field Details
-
PROVIDER_TYPES
- See Also:
-
-
Method Details
-
getProviderId
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*", message="Pattern: [A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") @NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",message="Pattern: [A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") @NotNull String getProviderId()Gets the value of the providerId property. Identifier used to uniquely identify this provider-config element- Returns:
- possible object is
String
-
setProviderId
Sets the value of the providerId property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getProviderType
@NotNull @Pattern(regexp="(client|server|client-server)", message="Valid values: (client|server|client-server)") @NotNull @Pattern(regexp="(client|server|client-server)",message="Valid values: (client|server|client-server)") 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
Sets the value of the providerType property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
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
Sets the value of the className property.- Parameters:
value- allowed object isString- Throws:
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
Sets the value of the requestPolicy property.- Parameters:
value- allowed object isRequestPolicy- Throws:
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
Sets the value of the responsePolicy property.- Parameters:
value- allowed object isResponsePolicy- Throws:
PropertyVetoException
-
getProperty
@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") List<org.jvnet.hk2.config.types.Property> getProperty()Properties.- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-