org.jboss.security
Interface CertificatePrincipal

All Known Implementing Classes:
SerialNumberIssuerDNMapping (src) , SubjectCNMapping (src) , SubjectDNMapping (src)

public interface CertificatePrincipal

An interface for converting an X509 cert to a Principal


Method Summary
 java.security.Principal toPrinicipal(java.security.cert.X509Certificate[] certs)
          Return the Principal associated with the specified chain of X509 client certificates.
 

Method Detail

toPrinicipal

public java.security.Principal toPrinicipal(java.security.cert.X509Certificate[] certs)
Return the Principal associated with the specified chain of X509 client certificates. If there is none, return null.

Parameters:
certs - Array of client certificates, with the first one in the array being the certificate of the client itself.