Package | Description |
---|---|
com.sun.identity.wss.security |
Defines Web Services Security Token specification and Token interfaces
with their respective implementation classes for different WS-* Security
Tokens.
|
com.sun.identity.wss.security.handler |
Defines classes to handle WS-Security requests.
|
com.sun.identity.wss.sts |
Defines STS client API and end user token conversion interface (SPI) classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AssertionToken
This class implements the interface
SecurityToken for the
SAML Assertions. |
class |
BinarySecurityToken
This class
BinarySecurityToken represents an X509
token that can be inserted into web services security header
for message level security. |
class |
FAMSecurityToken
The class
FAMSecurityToken represents Federation
OpenAM Security Token using OpenAM Single Sign-on
Token. |
class |
SAML2Token
This class
SAML2Token represents a SAML2
token that can be inserted into web services security header
for message level security. |
class |
UserNameToken
This class
UserNameToken represents an Username
token that can be inserted into web services security header
for message level security. |
Modifier and Type | Method and Description |
---|---|
SecurityToken |
TokenProvider.getSecurityToken()
Returns the
SecurityToken for the WS-Security. |
SecurityToken |
AMTokenProvider.getSecurityToken()
Returns the
SecurityToken for the WS-Security. |
SecurityToken |
SecurityTokenFactory.getSecurityToken(SecurityTokenSpec tokenSpec)
Returns / Creates a security token from the security token specificaion.
|
Modifier and Type | Method and Description |
---|---|
static X509Certificate |
WSSUtils.getCertificate(SecurityToken securityToken)
Returns the certificate present in the security token.
|
static X509Certificate |
SAML2TokenUtils.getCertificate(SecurityToken securityToken)
Returns an
X509Certificate from the security token if it
is of type SAML2 token holder of key. |
static Key |
WSSUtils.getSecretKey(SecurityToken securityToken,
String certAlias)
Returns the secret key from the security token from SAML1 Assertion.
|
static Key |
SAML2TokenUtils.getSecretKey(SecurityToken securityToken,
String certAlias) |
Modifier and Type | Method and Description |
---|---|
SecurityToken |
SecureSOAPMessage.getSecurityToken()
Returns the security token associated with this secure soap message.
|
Modifier and Type | Method and Description |
---|---|
Object |
MessageAuthenticator.authenticate(Subject subject,
SecurityMechanism securityMechanism,
SecurityToken securityToken,
ProviderConfig config,
Object secureMessage,
boolean isLiberty)
Authenticates the web services client.
|
Object |
DefaultAuthenticator.authenticate(Subject subject,
SecurityMechanism securityMechanism,
SecurityToken securityToken,
ProviderConfig config,
Object secureMessage,
boolean isLiberty)
Authenticates the web services client.
|
boolean |
MessageAuthorizer.authorize(Subject subject,
Object secureMessage,
SecurityMechanism securityMechanism,
SecurityToken securityToken,
ProviderConfig config,
boolean isLiberty)
Authorizes the web services client.
|
boolean |
DefaultAuthorizer.authorize(Subject subject,
Object secureMessage,
SecurityMechanism securityMechanism,
SecurityToken securityToken,
ProviderConfig config,
boolean isLiberty)
Authorizes the web services client.
|
void |
SecureSOAPMessage.setSecurityToken(SecurityToken token)
Sets the security token for securing the soap message.
|
Modifier and Type | Method and Description |
---|---|
SecurityToken |
TrustAuthorityClient.getSecurityToken(ProviderConfig pc,
Object credential)
Returns the
SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS). |
SecurityToken |
TrustAuthorityClient.getSecurityToken(ProviderConfig pc,
Object credential,
javax.servlet.ServletContext context)
Returns the
SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS). |
SecurityToken |
TrustAuthorityClient.getSecurityToken(String wspEndPoint,
String stsEndPoint,
String stsMexEndPoint,
Object credential,
String securityMech,
javax.servlet.ServletContext context)
Returns the
SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS). |
SecurityToken |
TrustAuthorityClient.getSecurityToken(String wspEndPoint,
String stsEndPoint,
String stsMexEndPoint,
Object credential,
String securityMech,
String tokenType,
javax.servlet.ServletContext context)
Returns the
SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS). |
SecurityToken |
TrustAuthorityClient.renewIssuedToken(SecurityToken securityToken,
ProviderConfig pc,
Object credential)
Renews the issued security token that was obtained from previous
interactions with Security Token Service (STS).
|
Modifier and Type | Method and Description |
---|---|
boolean |
TrustAuthorityClient.cancelIssuedToken(SecurityToken securityToken,
ProviderConfig pc)
Cancels the issued security token that was obtained from previous
interactions with Security Token Service (STS).
|
SecurityToken |
TrustAuthorityClient.renewIssuedToken(SecurityToken securityToken,
ProviderConfig pc,
Object credential)
Renews the issued security token that was obtained from previous
interactions with Security Token Service (STS).
|
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.