|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.identity.liberty.ws.security.SecurityTokenManager
The class SecurityTokenManager is a final class that
provides interfaces to manage Web Service Security (WSS) Tokens.
| Constructor Summary | |
SecurityTokenManager(java.lang.Object credential)
Returns the security token manager instance, the default XMLSignatureManager instance will be used for signing
and accessing the data store. |
|
| Method Summary | |
BinarySecurityToken |
getX509CertificateToken()
Gets the X509 certificate Token. |
void |
setCertAlias(java.lang.String certAlias)
Sets the alias of the certificate used for issuing WSS
token, i.e. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SecurityTokenManager(java.lang.Object credential)
throws SecurityTokenException
XMLSignatureManager instance will be used for signing
and accessing the data store.
credential - The credential of the caller used
to see if access to this security token manager is allowed.
SecurityTokenException - if unable to access the
the security token manager.| Method Detail |
public void setCertAlias(java.lang.String certAlias)
throws SecurityTokenException
WSS
token, i.e. WSS X509 Token, WSS
SAML Token. If the certAlias is never set, a default
certificate will be used for issuing WSS tokens.
certAlias - String alias name for the certificate.
SecurityTokenException - if certificate for the
certAlias could not be found in key store.
public BinarySecurityToken getX509CertificateToken()
throws SecurityTokenException
X509 certificate Token.
X509 certificate Token.
SecurityTokenException - if the binary security token could
not be obtained.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||