Interface WSTrustContract<K,V>
- All Known Subinterfaces:
IssueSamlTokenContract<K,V>
- All Known Implementing Classes:
ICContractImpl,IssueSamlTokenContract,IssueSamlTokenContractImpl,SBIssuedSamlTokenContractImpl,WSTrustContractImpl
public interface WSTrustContract<K,V>
The Contract (SPI) to be used by an STS to handle an Incoming WS-Trust request and
send the corresponding response.
-
Method Summary
Modifier and TypeMethodDescriptioncancel(K rst, IssuedTokenContext context, Map map) Cancel a TokenvoidhandleUnsolicited(V rstr, IssuedTokenContext context) handle an unsolicited RSTR like in the case of Client Initiated Secure Conversation.voidinit(STSConfiguration config) issue(K rst, IssuedTokenContext context) Issue a Tokenrenew(K rst, IssuedTokenContext context) Renew a Tokenvalidate(K request, IssuedTokenContext context) Validate a Token
-
Method Details
-
init
-
issue
Issue a Token- Throws:
WSTrustException
-
renew
Renew a Token- Throws:
WSTrustException
-
cancel
Cancel a Token- Throws:
WSTrustException
-
validate
Validate a Token- Throws:
WSTrustException
-
handleUnsolicited
handle an unsolicited RSTR like in the case of Client Initiated Secure Conversation.- Throws:
WSTrustException
-