|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface X509SubjectComponentMapper
The X509SubjectComponentMapper
derives subject components
from a given X.509 certificate chain, extending the
by supporting additional principals and credentials.
UserNameMapper
Certificate-based authentication may be performed when a remote client makes a two-way-authenticated SSL connection to the server, in which case the client's certificate chain can be used to authenticate the remote user. This removes the need for the client to explicitly provide a username and password.
To specify an instance of this interface to be used by the default identity asserter, set the UserNameMapperClassName field on the Default Identity Asserter tab in the Administration Console to the name of a class that implements this interface.
Classes implementing this interface must have a public no-arg constructor.
Method Summary | |
---|---|
SubjectComponentData |
getSubjectComponentData(X509Certificate[] certs)
Derives a username, principals, and credentials, from the given certificate chain. |
boolean |
isVirtualUserAllowed(X509Certificate[] certs)
Determines whether virtual users are allowed, from the given certificate chain. |
Methods inherited from interface weblogic.security.providers.authentication.UserNameMapper |
---|
mapCertificateToUserName, mapDistinguishedNameToUserName |
Method Detail |
---|
SubjectComponentData getSubjectComponentData(X509Certificate[] certs)
null
is returned.
certs
- Certificate chain presented by the client. An array
of length at least 1. The first certificate is the leaf
(i.e. end user's) certificate. If the length is greater
than 1, the array is a certificate chain, with the last element
being the root CA.
null
if a derivation could not be determined.boolean isVirtualUserAllowed(X509Certificate[] certs)
A virtual user is one which is authenticated only by the identity assertion token (e.g., X.509 certificate). A virtual user would not be authenticated against any known user store, such as an LDAP store.
Note that even though this X509SubjectComponentMapper instance may allow virtual users, the identity assertion provider must also allow virtual users in order to authenticate.
certs
- Certificate chain presented by the client. An array
of length at least 1. The first certificate is the leaf
(i.e. end user's) certificate. If the length is greater
than 1, the array is a certificate chain, with the last element
being the root CA.
true
if virtual users derived from the certificate
chain are allowed, false
if not.
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |