Class CertificateUserDetailsAdapter


  • public final class CertificateUserDetailsAdapter
    extends Object
    • Method Detail

      • forCommonName

        public static CertificateUserDetailsAdapter.Adapter forCommonName​(String commonName)
        Creates an adapter for the given common name, which can be used to search for users in the system.
        Parameters:
        commonName - the common name to adapt
        Returns:
        an ICertificateUserDetailsAdapter instance
        Throws:
        IllegalArgumentException - if the common name is null or blank
      • forEmail

        public static CertificateUserDetailsAdapter.Adapter forEmail​(String email)
        Creates an adapter for the given email address, which can be used to search for users in the system.
        Parameters:
        email - the email address to adapt
        Returns:
        an ICertificateUserDetailsAdapter instance
        Throws:
        IllegalArgumentException - if the email is null or blank