Interface ProviderConfig

  • All Superinterfaces:
    ConfigBeanProxy, PropertyBag

    public interface ProviderConfig
    extends ConfigBeanProxy, 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
    • Method Detail

      • getProviderId

        @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*")
        @NotNull
        @Pattern(regexp="[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
      • getProviderType

        @NotNull
        @Pattern(regexp="(client|server|client-server)")
        @NotNull @Pattern(regexp="(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
      • getClassName

        @NotNull
        @JavaClassName
        @NotNull 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
      • 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
      • 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