Interface CertificateIdentityMapping

  • All Known Implementing Classes:
    CNCertificateIdentityMapping, SANCertificateIdentityMapping

    public interface CertificateIdentityMapping
    This is the interface used to map identity credentials from certificates. Users may implement this class to map authentication credentials (i.e. usernames) from certificate data (e.g. CommonName or SubjectAlternativeName)
    Author:
    Victor Hong
    • Method Detail

      • mapIdentity

        List<String> mapIdentity​(X509Certificate certificate)
        Maps identities from X509Certificates
        Parameters:
        certificate - The certificate from which to map identities
        Returns:
        A list of identities mapped from the certificate
      • name

        String name()
        Returns the short name of the mapping
        Returns:
        The short name of the mapping