|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.identity.wss.sts.TrustAuthorityClient
public class TrustAuthorityClient
The class TrustAuthorityClient is used to obtain the
security tokens from the trusted authority services such as Security
Token Service (STS) or Liberty Discovery Service.
| Field Summary | |
|---|---|
static String[] |
jars
The list of jar files to be loaded by FAMClassLoader. |
| Constructor Summary | |
|---|---|
TrustAuthorityClient()
Creates a new instance of TrustAuthorityClient. |
|
| Method Summary | |
|---|---|
boolean |
cancelIssuedToken(SecurityToken securityToken,
ProviderConfig pc)
Cancels the issued security token that was obtained from previous interactions. |
SecurityToken |
getSecurityToken(ProviderConfig pc,
Object ssoToken)
Returns the SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS). |
SecurityToken |
getSecurityToken(ProviderConfig pc,
Object ssoToken,
ServletContext context)
Returns the SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS). |
SecurityToken |
getSecurityToken(String wspEndPoint,
String stsEndPoint,
String stsMexEndPoint,
Object ssoToken,
String securityMech,
ServletContext context)
Returns the SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS). |
SecurityToken |
renewIssuedToken(SecurityToken securityToken,
ProviderConfig pc,
Object ssoToken)
Renews the issued security token that was obtained from previous interactions. |
| Field Detail |
|---|
public static String[] jars
| Constructor Detail |
|---|
public TrustAuthorityClient()
| Method Detail |
|---|
public SecurityToken getSecurityToken(ProviderConfig pc,
Object ssoToken)
throws FAMSTSException
SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS).
The web services client configuation and web service
information is identified by the provider configuration.
pc - Provider configuration of the web services client.ssoToken - Single sign-on token of the principal.
FAMSTSException - if it's unable to retrieve security token.
public SecurityToken getSecurityToken(ProviderConfig pc,
Object ssoToken,
ServletContext context)
throws FAMSTSException
SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS).
The web services client configuation and web service
information is identified by the provider configuration.
pc - Provider configuration of the web services client.ssoToken - Single sign-on token of the principal.context - Web context under which this class is running.
FAMSTSException - if it's unable to retrieve security token.
public SecurityToken getSecurityToken(String wspEndPoint,
String stsEndPoint,
String stsMexEndPoint,
Object ssoToken,
String securityMech,
ServletContext context)
throws FAMSTSException
SecurityToken for the web services client from
a trusted authority, which is Security Token Service (STS).
wspEndPoint - Web Service Provider end point.stsEndPoint - Security Token Service end point.stsMexEndPoint - Security Token Service MEX end point.ssoToken - single sign-on token of the principal.securityMech - Required Security Mechanism by Web Service Client.context - web context under which this class is running.
FAMSTSException - if it's unable to retrieve security token.
public SecurityToken renewIssuedToken(SecurityToken securityToken,
ProviderConfig pc,
Object ssoToken)
throws FAMSTSException
securityToken - security token that needs to be renewed.pc - provider configuration of the web services client.ssoToken - single sign-on token of the principal.
FAMSTSException - if it's unable to renew security token or
if the trust authority configuration is not of STS.
public boolean cancelIssuedToken(SecurityToken securityToken,
ProviderConfig pc)
throws FAMSTSException
securityToken - security token that needs to be renewed.pc - provider configuration of the web services client.
FAMSTSException - if there is an exception in cancelling
issued security token or if the trust authority configuration
is not of STS.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||