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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vcancel(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)Vissue(K rst, IssuedTokenContext context)Issue a TokenVrenew(K rst, IssuedTokenContext context)Renew a TokenVvalidate(K request, IssuedTokenContext context)Validate a Token
-
-
-
Method Detail
-
init
void init(STSConfiguration config)
-
issue
V issue(K rst, IssuedTokenContext context) throws WSTrustException
Issue a Token- Throws:
WSTrustException
-
renew
V renew(K rst, IssuedTokenContext context) throws WSTrustException
Renew a Token- Throws:
WSTrustException
-
cancel
V cancel(K rst, IssuedTokenContext context, Map map) throws WSTrustException
Cancel a Token- Throws:
WSTrustException
-
validate
V validate(K request, IssuedTokenContext context) throws WSTrustException
Validate a Token- Throws:
WSTrustException
-
handleUnsolicited
void handleUnsolicited(V rstr, IssuedTokenContext context) throws WSTrustException
handle an unsolicited RSTR like in the case of Client Initiated Secure Conversation.- Throws:
WSTrustException
-
-