Class SubjectX500Principal

  • All Implemented Interfaces:
    CertificatePrincipal

    public class SubjectX500Principal
    extends Object
    implements CertificatePrincipal
    A CertificatePrincipal implementation that uses the client cert SubjectX500Principal as the principal.
    Version:
    $Revision$
    Author:
    Scott.Stark@jboss.org
    • Constructor Detail

      • SubjectX500Principal

        public SubjectX500Principal()
    • Method Detail

      • toPrincipal

        public Principal toPrincipal​(X509Certificate[] certs)
        Returns the client cert SubjectX500Principal as the principal.
        Specified by:
        toPrincipal in interface CertificatePrincipal
        Parameters:
        certs - Array of client certificates, with the first one in the array being the certificate of the client itself.
      • toPrinicipal

        public Principal toPrinicipal​(X509Certificate[] certs)
        Description copied from interface: CertificatePrincipal
        Return the Principal associated with the specified chain of X509 client certificates. If there is none, return null.
        Specified by:
        toPrinicipal in interface CertificatePrincipal
        Parameters:
        certs - Array of client certificates, with the first one in the array being the certificate of the client itself.