Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.security.pk
Class CertPathValidatorParameters

java.lang.Object
  extended by weblogic.security.pk.CertPathValidatorParameters
All Implemented Interfaces:
Cloneable, CertPathParameters

public final class CertPathValidatorParameters
extends Object
implements CertPathParameters

The certification path validator parameters that a caller must use to access the WebLogic Server Certificate Lookup and Validation (CLV) Framework via the JDK's CertPathValidator API.

Pass an instance of CertPathValidatorParameters as the CertPathParameters object to the JDK's CertPathValidator.validate() method.

For more information, see the sections that describe certification paths in "Programming WebLogic Security."

See Also:
CertPathValidator

Constructor Summary
CertPathValidatorParameters(String realmName, X509Certificate[] trustedCAs, ContextHandler context)
          Construct a CertPathValidatorParameters.
 
Method Summary
 Object clone()
          This class is not cloneable.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertPathValidatorParameters

public CertPathValidatorParameters(String realmName,
                                   X509Certificate[] trustedCAs,
                                   ContextHandler context)
Construct a CertPathValidatorParameters. You must provide realmName.

You can provide a list of trusted certificate authorities (CAs) for use when validating the certification path. If trustedCAs is null, the default set of trusted CAs configured for the server is used.

You can also provide a ContextHandler object containing extra parameters for use when validating the certification path. Setting context to null indicates that there are no context parameters.

Parameters:
realmName - The name of the security realm (for example, myrealm)
trustedCAs - Optional list of trusted certificate authorities
context - Optional additional certification-path validation parameters
Throws:
IllegalArgumentException - if realmName is null or empty
Method Detail

clone

public Object clone()
This class is not cloneable.

Specified by:
clone in interface CertPathParameters
Overrides:
clone in class Object
Throws:
UnsupportedOperationException - when called.

Copyright 1996, 2011, 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-06