Interface ProfileAuthenticator

    • Field Detail

    • Method Detail

      • init

        void init​(Profile profile,
                  IConfigStore config)
           throws com.netscape.certsrv.profile.EProfileException
        Initializes this default policy.
        Parameters:
        profile - owner of this authenticator
        config - configuration store
        Throws:
        com.netscape.certsrv.profile.EProfileException - failed to initialize
      • populate

        void populate​(com.netscape.certsrv.authentication.IAuthToken token,
                      com.netscape.certsrv.request.IRequest request)
               throws com.netscape.certsrv.profile.EProfileException
        Populates authentication specific information into the request for auditing purposes.
        Parameters:
        token - authentication token
        request - request
        Throws:
        com.netscape.certsrv.profile.EProfileException - failed to populate
      • getName

        java.lang.String getName​(java.util.Locale locale)
        Retrieves the localizable name of this policy.
        Parameters:
        locale - end user locale
        Returns:
        localized authenticator name
      • getText

        java.lang.String getText​(java.util.Locale locale)
        Retrieves the localizable description of this policy.
        Parameters:
        locale - end user locale
        Returns:
        localized authenticator description
      • getValueNames

        java.util.Enumeration<java.lang.String> getValueNames()
        Retrieves a list of names of the property.
        Returns:
        a list of property names
      • isValueWriteable

        boolean isValueWriteable​(java.lang.String name)
        Checks if the value of the given property should be serializable into the request. Passsword or other security-related value may not be desirable for storage.
        Parameters:
        name - property name
        Returns:
        true if the property is not security related
      • getValueDescriptor

        com.netscape.certsrv.property.IDescriptor getValueDescriptor​(java.util.Locale locale,
                                                                     java.lang.String name)
        Retrieves the descriptor of the given value property by name.
        Parameters:
        locale - user locale
        name - property name
        Returns:
        descriptor of the requested property
      • isSSLClientRequired

        boolean isSSLClientRequired()
        Checks if this authenticator requires SSL client authentication.
        Returns:
        client authentication required or not