com.ibm.wsspi.wssecurity.config
Class WSIdKeyStoreMapKeyLocator
- java.lang.Object
com.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator
com.ibm.wsspi.wssecurity.config.WSIdKeyStoreMapKeyLocator
All implemented interfaces:
Deprecated.
- public class WSIdKeyStoreMapKeyLocator
- extends KeyStoreKeyLocator
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
Constructor and Description |
---|
WSIdKeyStoreMapKeyLocator()
Deprecated.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getCertificate(java.lang.String name)
Deprecated. Retrieves the certificate which corresponds to the authenticated ID.
|
|
getEncryptionKey(java.lang.String name,java.lang.Object context)
Deprecated. Retrieves the encryption key which corresponds to the authenticated ID.
|
|
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
WSIdKeyStoreMapKeyLocator
- public WSIdKeyStoreMapKeyLocator( )
Deprecated.
Method Detail
init
- public void init(java.util.Map map)
- throws SoapSecurityException
Deprecated.
Initializes the object.
Parameters:
map
- a Map
object which contains name-value pairs.
These pairs are specified in <Property>
elements in
the configuration XMI files. Throws:
getEncryptionKey
- public java.security.Key getEncryptionKey( java.lang.String name,
- java.lang.Object context)
- throws KeyLocatorException
Deprecated.
Retrieves the encryption key which corresponds to the authenticated ID.
Specified by:
getEncryptionKey
in interface KeyLocator
Overrides:
getEncryptionKey
in class KeyStoreKeyLocator
Parameters:
name
- Ignored because the key are retrieved according to the
authentication information. context
- Reserved for the future use. Returns:
An encryption key.
Throws:
getCertificate
- public java.security.cert.Certificate getCertificate( java.lang.String name)
- throws KeyLocatorException
Deprecated.
Retrieves the certificate which corresponds to the authenticated ID.
Specified by:
getCertificate
in interface KeyLocator
Overrides:
getCertificate
in class KeyStoreKeyLocator
Parameters:
name
- ignored because the key are retrieved according to the
authentication information. Returns:
A certificate object.
Throws:
Initializable