Class X509SubjectDnRetriever

    • Constructor Detail

      • X509SubjectDnRetriever

        public X509SubjectDnRetriever()
    • Method Detail

      • getUsername

        public String getUsername​(X509Certificate clientCert)
        Description copied from interface: X509UsernameRetriever
        Gets a user name from an X509Certificate.
        Specified by:
        getUsername in interface X509UsernameRetriever
        Parameters:
        clientCert - The certificate containing the user name.
        Returns:
        An appropriate user name obtained from one or more fields in the certificate.