Package org.jboss.security
Interface CertificatePrincipal
-
- All Known Implementing Classes:
SerialNumberIssuerDNMapping
,SubjectCNMapping
,SubjectDNMapping
,SubjectX500Principal
public interface CertificatePrincipal
An interface for converting an X509 cert to a Principal- Version:
- $Revision$
- Author:
- Scott.Stark@jboss.org
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Principal
toPrincipal(X509Certificate[] certs)
Return the Principal associated with the specified chain of X509 client certificates.Principal
toPrinicipal(X509Certificate[] certs)
Deprecated.method kept for backward compatibility.
-
-
-
Method Detail
-
toPrinicipal
Principal toPrinicipal(X509Certificate[] certs)
Deprecated.method kept for backward compatibility. Use toPrincipal(X509Certificate[]) instead.Return the Principal associated with the specified chain of X509 client certificates. If there is none, returnnull
.- Parameters:
certs
- Array of client certificates, with the first one in the array being the certificate of the client itself.
-
toPrincipal
Principal toPrincipal(X509Certificate[] certs)
Return the Principal associated with the specified chain of X509 client certificates. If there is none, returnnull
.- Parameters:
certs
- Array of client certificates, with the first one in the array being the certificate of the client itself.
-
-