|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.acl.CertAuthentication
public class CertAuthentication
The public face of the CertAuthenticator interface.
CertAuthenticator
Constructor Summary | |
---|---|
CertAuthentication()
Deprecated. |
Method Summary | |
---|---|
static User |
authenticate(String userName,
Certificate[] certs,
boolean ssl)
Deprecated. Authenticate a user based on a certificate chain they have presented. |
static User |
authenticate(String userName,
Vector certs,
boolean ssl)
Deprecated. Authenticate a user based on a chain of certificates they have presented. |
static void |
setup()
Deprecated. This is a server-internal method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CertAuthentication()
Method Detail |
---|
public static void setup()
public static User authenticate(String userName, Vector certs, boolean ssl)
If the user is authenticated successfully based on the presented certificates, this method returns the user's WebLogic username as derived from the leaf certificate, otherwise it returns null.
userName
- name presented by the user, if any (may be null)certs
- certificate chain presented by the userssl
- true if the certificates were obtained during a two-way
SSL handshake
public static User authenticate(String userName, Certificate[] certs, boolean ssl)
This method must be called with a non-null array of length at least one. The first element in the array is the leaf certificate (i.e., the end user's certificate), and if the array contains more than one element, the last is the root CA's certificate.
userName
- name presented by the user, if any (may be null)certs
- certificate chain presented by the userssl
- true if the certificate chain was obtained during a two-way
SSL handshake
|
Copyright 1996, 2015, 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 Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |