com.bea.b2b.security
Class Security

java.lang.Object
  |
  +--com.bea.b2b.security.Security

public final class Security
extends java.lang.Object

The Security class implements WebLogic Collaborate security.

Author:
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Method Summary
static java.lang.String isValidWLCCertificate(weblogic.security.Certificate[] certs)
          Checks the certificate chain and returns the WebLogic Server user name if the certificate is a valid WebLogic Collaborate certificate.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isValidWLCCertificate

public static final java.lang.String isValidWLCCertificate(weblogic.security.Certificate[] certs)
Checks the certificate chain and returns the WebLogic Server user name if the certificate is a valid WebLogic Collaborate certificate.

If applications need to map other certificates to WLS users, this method must be called first to verify whether it is a valid WLC certificate. If it is not a valid WLC certificate, then the application can check for a non-WLC certificate and map it to a WLS user.

If the certificate is a WLC certificate, then the authenticator that is calling this method must return the WLS user corresponding to the username returned by this method. See the documentation for customizing the WLC certificate authenticator.

Parameters:
certs - Certificate chain used in establishing the SSL two-way authenticated session.
Returns:
user - Username, if the certificate is known, or null if the certificate is not known.