public class SerialNumberIssuerDNMapping extends Object implements CertificatePrincipal
| Constructor and Description |
|---|
SerialNumberIssuerDNMapping() |
| Modifier and Type | Method and Description |
|---|---|
Principal |
toPrincipal(X509Certificate[] certs)
Create a SimplePrincipal with the name composed from
certs[0].getSerialNumber() + " " + certs[0].getIssuerDN()
|
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.