Class AuthTokenSubjectNameDefault

  • All Implemented Interfaces:
    ICertInfoPolicyDefault, IPolicyDefault, IConfigTemplate

    public class AuthTokenSubjectNameDefault
    extends EnrollDefault
    This class implements an enrollment default policy that populates subject name based on the attribute values in the authentication token (AuthToken) object.
    Version:
    $Revision$, $Date$
    • Constructor Detail

      • AuthTokenSubjectNameDefault

        public AuthTokenSubjectNameDefault()
    • Method Detail

      • getValueDescriptor

        public IDescriptor getValueDescriptor​(java.util.Locale locale,
                                              java.lang.String name)
        Description copied from interface: IPolicyDefault
        Retrieves the descriptor of the given property by name. The descriptor contains syntax information.
        Parameters:
        locale - locale of the end user
        name - name of property
        Returns:
        descriptor of the property
      • setValue

        public void setValue​(java.lang.String name,
                             java.util.Locale locale,
                             X509CertInfo info,
                             java.lang.String value)
                      throws EPropertyException
        Description copied from class: EnrollDefault
        Sets values from the approval page into certificate template.
        Specified by:
        setValue in class EnrollDefault
        Parameters:
        name - name of the attribute
        locale - user locale
        info - certificate template
        value - attribute value
        Throws:
        EPropertyException
      • getValue

        public java.lang.String getValue​(java.lang.String name,
                                         java.util.Locale locale,
                                         X509CertInfo info)
                                  throws EPropertyException
        Description copied from class: EnrollDefault
        Retrieves certificate template values and returns them to the approval page.
        Specified by:
        getValue in class EnrollDefault
        Parameters:
        name - name of the attribute
        locale - user locale
        info - certificate template
        Throws:
        EPropertyException
      • getText

        public java.lang.String getText​(java.util.Locale locale)
        Description copied from class: EnrollDefault
        Retrieves the localizable description of this policy.
        Specified by:
        getText in interface IPolicyDefault
        Specified by:
        getText in class EnrollDefault
        Parameters:
        locale - locale of the end user
        Returns:
        localized description of this default policy