|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator
com.ibm.wsspi.wssecurity.config.WSIdKeyStoreMapKeyLocator
public class WSIdKeyStoreMapKeyLocator
Maps the authenticated ID in WAS to the actual key in
KeyStore
object.
In addition to the properties specified in KeyStoreKeyLocator
,
this class accepts two kinds of properties: id_n
and
mappedName_n
where n
is an integer.
The former represents the authenticated ID and the latter represents the
abstract key "name" which is also specified in
KeyStoreKeyLocator
.
Constructor Summary | |
---|---|
WSIdKeyStoreMapKeyLocator()
Deprecated. |
Method Summary | |
---|---|
java.security.cert.Certificate |
getCertificate(java.lang.String name)
Deprecated. Retrieves the certificate which corresponds to the authenticated ID. |
java.security.Key |
getEncryptionKey(java.lang.String name,
java.lang.Object context)
Deprecated. Retrieves the encryption key which corresponds to the authenticated ID. |
void |
init(java.util.Map map)
Deprecated. Initializes the object. |
Methods inherited from class com.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator |
---|
doInit, encodedName, getCertificate, getConfidentialKey, getDecryptionKey, getDefaultBasePath, getName, getName, getNames, getSigningKey, getVerificationKey |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSIdKeyStoreMapKeyLocator()
Method Detail |
---|
public void init(java.util.Map map) throws SoapSecurityException
Initializable
init
in interface Initializable
init
in class KeyStoreKeyLocator
map
- a Map
object which contains name-value pairs.
These pairs are specified in <Property>
elements in
the configuration XMI files.
SoapSecurityException
public java.security.Key getEncryptionKey(java.lang.String name, java.lang.Object context) throws KeyLocatorException
getEncryptionKey
in interface KeyLocator
getEncryptionKey
in class KeyStoreKeyLocator
name
- Ignored because the key are retrieved according to the
authentication information.context
- Reserved for the future use.
KeyLocatorException
public java.security.cert.Certificate getCertificate(java.lang.String name) throws KeyLocatorException
getCertificate
in interface KeyLocator
getCertificate
in class KeyStoreKeyLocator
name
- ignored because the key are retrieved according to the
authentication information.
KeyLocatorException
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |