public class SubjectX500Principal extends Object implements CertificatePrincipal
Constructor and Description |
---|
SubjectX500Principal() |
Modifier and Type | Method and Description |
---|---|
Principal |
toPrincipal(X509Certificate[] certs)
Returns the client cert SubjectX500Principal 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 CertificatePrincipal
certs
- Array of client certificates, with the first one in
the array being the certificate of the client itself.public Principal toPrinicipal(X509Certificate[] certs)
CertificatePrincipal
null
.toPrinicipal
in interface CertificatePrincipal
certs
- Array of client certificates, with the first one in
the array being the certificate of the client itself.Copyright © 2016 JBoss by Red Hat. All rights reserved.