public class SubjectCNMapping extends Object implements CertificatePrincipal
| Constructor and Description |
|---|
SubjectCNMapping() |
| Modifier and Type | Method and Description |
|---|---|
Principal |
toPrincipal(X509Certificate[] certs)
Returns the client cert common name portion (cn=...) of the SubjectDN
as the principal.
|
Principal |
toPrinicipal(X509Certificate[] certs)
Return the Principal associated with the specified chain of X509
client certificates.
|
public Principal toPrincipal(X509Certificate[] certs)
toPrincipal in interface CertificatePrincipalcerts - Array of client certificates, with the first one in
the array being the certificate of the client itself.public Principal toPrinicipal(X509Certificate[] certs)
CertificatePrincipalnull.toPrinicipal in interface CertificatePrincipalcerts - Array of client certificates, with the first one in
the array being the certificate of the client itself.Copyright © 2017 JBoss by Red Hat. All rights reserved.