|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.SSL.CertPathTrustManager
public final class CertPathTrustManager
A CertPathTrustManager that makes use of the configured CertPathValidation providers to perform extra validation; for example, revocation checking.
By default, application code using outbound SSL in the server has access only to the built-in SSL certificate validation. However, application code can specify the CertPathTrustManager in order to access any additional certificate validation that the administrator has configured for the server.
There are three ways to use this class:
1. The trust manager calls configured CertPathValidators only if the administrator has set a switch on the SSLMBean stating that outbound SSL should use the validators. That is, the application completely delegate validation to whatever the administrator configures. This is the default.
2. The trust manager always calls any configured CertPathValidators.
3. The trust manager never calls any configured CertPathValidators.
For more information, see the sections that describe certification paths in "Developing Security Providers for Oracle WebLogic Server" and "Programming Security for Oracle WebLogic Server."
SSLContext
,
Environment
,
HttpsURLConnection
Field Summary |
---|
Fields inherited from interface weblogic.security.SSL.TrustManager |
---|
ERR_CERT_CHAIN_INCOMPLETE, ERR_CERT_CHAIN_INVALID, ERR_CERT_CHAIN_UNTRUSTED, ERR_CERT_EXPIRED, ERR_NONE, ERR_SIGNATURE_INVALID |
Constructor Summary | |
---|---|
CertPathTrustManager()
Construct a CertPathTrustManager. |
Method Summary | |
---|---|
void |
setBuiltinSSLValidationAndCertPathValidators()
Configure this trust manager to always use the CertPathValidators configured in the realm. |
void |
setBuiltinSSLValidationOnly()
Configure this trust manager to never use the CertPathValidators configured in the realm. |
void |
setUseConfiguredSSLValidation()
Configure this trust manager to use the validation rules the administrator configured for SSL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface weblogic.security.SSL.TrustManager |
---|
certificateCallback |
Constructor Detail |
---|
public CertPathTrustManager()
By default, this trust manager uses the same rules for outbound SSL that the administrator has configured for the server.
Method Detail |
---|
public void setBuiltinSSLValidationAndCertPathValidators()
public void setBuiltinSSLValidationOnly()
public void setUseConfiguredSSLValidation()
|
Copyright 1996, 2013, 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.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |