WebLogic Integration


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, 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
static java.lang.String isValidLWTP()
          Checks if a trading partner is a lightweight trading partner and the user name corresponds to that LWTP.
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isValidLWTP

public static final java.lang.String isValidLWTP()
Checks if a trading partner is a lightweight trading partner and the user name corresponds to that LWTP.

Returns:
String - Trading partner name

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.

WebLogic Integration

WebLogic Integration (WLI)