public final class SecurityTokenManagerClient extends Object
SecurityTokenManagerClient
is a final
class that provides interfaces to create, get and destroy
Assertion
s.
The class provides mechanisms to manage the Assertion
s either
locally (i.e., within the same JVM process) or remotely on another instance
of OpenAM. The default constructor will manage the
Assertion
s locally if it detects SAML web services running locally,
else will use on of the configured OpenAM. The constructor which
accepts an URL
will always use the URL to manage the assertions.
Having obtained an instance of AssertionManagerClient
, its
methods can be called to create/get Assertion
, and
AssertionArtifact
, and to obtain decision from an
Query
.
Modifier and Type | Method and Description |
---|---|
void |
setCertAlias(String certAlias)
Sets the alias of the certificate used for issuing
WSS
token, i.e. |
public void setCertAlias(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.Copyright © 2010-2018, ForgeRock All Rights Reserved.