Interface PasswordPolicyFactory

  • All Known Implementing Classes:
    ITIMPasswordPolicyFactoryImpl

    public interface PasswordPolicyFactory
    Factory for password policy service object family.
    • Method Detail

      • newPasswordPolicyService

        PasswordPolicyService newPasswordPolicyService​(PolicyServiceConnection conn)
        Factory method for PasswordPolicyService instances.
        Parameters:
        conn - The conn to the policy service provider. Stored config is ignored if using this overload.
        Returns:
        new PasswordPolicyService instance.
        Throws:
        java.lang.IllegalArgumentException - if conn is null.
        java.lang.IllegalStateException - if not configured.
      • newPolicyServiceRequest

        PolicyServiceRequest newPolicyServiceRequest​(PolicyServiceMessage.ServiceOp op)
        Factory method for request objects.
        Parameters:
        op - The opeation type.
        Returns:
        a new request object.
        Throws:
        java.lang.IllegalStateException - if not configured.
      • newPolicyServiceResponse

        PolicyServiceResponse newPolicyServiceResponse​(PolicyServiceRequest req)
        Factory method for response objects.
        Parameters:
        req - The original request.
        Returns:
        new response object instance.
        Throws:
        java.lang.IllegalStateException - if not configured.
      • newPolicyServiceConnection

        PolicyServiceConnection newPolicyServiceConnection​(java.net.URL url)
                                                    throws PolicyConnectionException
        Factory method for connection objects.
        Parameters:
        url - The url
        Returns:
        new connection based on URL. Stored config is ignored if this overload is used.
        Throws:
        PolicyConnectionException
        java.lang.IllegalArgumentException - if url is null.
        java.lang.IllegalStateException - if not configured.