|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.b2b.security.Security
The Security class implements WebLogic Collaborate security.
Method Summary | |
void |
addUser(java.lang.String tpName,
java.lang.String userName)
Add user for trading partner |
void |
changePassword(java.lang.String userName,
java.lang.String oldPassword,
java.lang.String newPassword)
|
boolean |
checkSystemPassword(java.lang.String password)
|
weblogic.management.configuration.User |
createWLSUser(java.lang.String userName,
java.lang.String password)
|
com.bea.b2b.security.EncryptionService |
getEncryptionService()
|
com.bea.b2b.security.KeyStoreService |
getKeyStoreService()
|
com.bea.b2b.security.SignatureService |
getSignatureService()
|
boolean |
hasWLSUser(java.lang.String userName)
|
boolean |
isUserInUse(java.lang.String userName)
|
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)
|
static java.lang.String |
isValidWLCCertificate(java.security.cert.X509Certificate[] certs)
Checks the certificate chain and returns the WebLogic Server user name if the certificate is a valid WebLogic Collaborate certificate. |
protected static java.security.cert.X509Certificate |
readX509(java.lang.String loc)
|
void |
removeUser(java.lang.String tpName,
java.lang.String userName)
Remove user from cache |
void |
removeWLSUser(weblogic.management.configuration.User user)
|
void |
setProxy(java.lang.String proxyHost,
int proxyPort)
|
protected void |
testCerts(java.lang.String myName)
|
protected com.rsa.certj.cert.X509Certificate |
toRSAX509(java.security.cert.Certificate javacert)
|
protected com.rsa.certj.cert.X509Certificate[] |
toRSAX509(java.security.cert.Certificate[] javacert)
|
protected static java.security.cert.X509Certificate[] |
toweblogicx509(weblogic.security.Certificate[] cert)
|
void |
unregisterTradingPartner(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public void setProxy(java.lang.String proxyHost, int proxyPort)
public void addUser(java.lang.String tpName, java.lang.String userName) throws java.lang.Exception
tpName
- trading partner nameuserName
- user name for the trading partnerpublic void removeUser(java.lang.String tpName, java.lang.String userName)
tpName
- trading partner nameuserName
- user name to be removedpublic boolean isUserInUse(java.lang.String userName)
public void unregisterTradingPartner(java.lang.String name) throws com.bea.b2b.tpa.RegisterException
protected static java.security.cert.X509Certificate readX509(java.lang.String loc)
public static final java.lang.String isValidLWTP()
public static final java.lang.String isValidWLCCertificate(java.security.cert.X509Certificate[] certs)
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.
certs
- Certificate chain used in establishing the SSL two-way authenticated session.public static final java.lang.String isValidWLCCertificate(weblogic.security.Certificate[] certs)
public com.bea.b2b.security.EncryptionService getEncryptionService()
public com.bea.b2b.security.SignatureService getSignatureService()
public com.bea.b2b.security.KeyStoreService getKeyStoreService()
protected com.rsa.certj.cert.X509Certificate toRSAX509(java.security.cert.Certificate javacert)
protected com.rsa.certj.cert.X509Certificate[] toRSAX509(java.security.cert.Certificate[] javacert)
protected static java.security.cert.X509Certificate[] toweblogicx509(weblogic.security.Certificate[] cert)
protected void testCerts(java.lang.String myName)
public void changePassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword) throws java.lang.Exception
public boolean checkSystemPassword(java.lang.String password)
public weblogic.management.configuration.User createWLSUser(java.lang.String userName, java.lang.String password) throws java.lang.Exception
public boolean hasWLSUser(java.lang.String userName) throws java.lang.Exception
public void removeWLSUser(weblogic.management.configuration.User user) throws java.lang.Exception
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |