public abstract class IssueSamlTokenContract extends Object implements IssueSamlTokenContract<BaseSTSRequest,BaseSTSResponse>
| Modifier and Type | Field and Description |
|---|---|
protected String |
authnCtxClass |
protected WSTrustElementFactory |
eleFac |
protected static String |
SAML_BEARER_1_0 |
protected static String |
SAML_BEARER_2_0 |
protected static String |
SAML_HOLDER_OF_KEY_1_0 |
protected static String |
SAML_HOLDER_OF_KEY_2_0 |
protected static String |
SAML_SENDER_VOUCHES_1_0 |
protected static String |
SAML_SENDER_VOUCHES_2_0 |
protected STSConfiguration |
stsConfig |
protected WSTrustVersion |
wstVer |
| Constructor and Description |
|---|
IssueSamlTokenContract() |
| Modifier and Type | Method and Description |
|---|---|
BaseSTSResponse |
cancel(BaseSTSRequest request,
IssuedTokenContext context,
Map issuedTokenCtxMap)
Cancel a Token
|
abstract Token |
createSAMLAssertion(String appliesTo,
String tokenType,
String keyType,
String assertionId,
String issuer,
Map<QName,List<String>> claimedAttrs,
IssuedTokenContext context) |
void |
handleUnsolicited(BaseSTSResponse rstr,
IssuedTokenContext context)
handle an unsolicited RSTR like in the case of
Client Initiated Secure Conversation.
|
void |
init(STSConfiguration stsConfig) |
BaseSTSResponse |
issue(BaseSTSRequest request,
IssuedTokenContext context)
Issue a Token
|
BaseSTSResponse |
issueMultiple(BaseSTSRequest request,
IssuedTokenContext context)
Issue a Collection of Token(s) possibly for different scopes
|
BaseSTSResponse |
renew(BaseSTSRequest request,
IssuedTokenContext context)
Renew a Token
|
BaseSTSResponse |
validate(BaseSTSRequest request,
IssuedTokenContext context)
Validate a Token
|
protected static final String SAML_HOLDER_OF_KEY_1_0
protected static final String SAML_HOLDER_OF_KEY_2_0
protected static final String SAML_BEARER_1_0
protected static final String SAML_BEARER_2_0
protected static final String SAML_SENDER_VOUCHES_1_0
protected static final String SAML_SENDER_VOUCHES_2_0
protected STSConfiguration stsConfig
protected WSTrustVersion wstVer
protected String authnCtxClass
protected WSTrustElementFactory eleFac
public void init(STSConfiguration stsConfig)
init in interface WSTrustContract<BaseSTSRequest,BaseSTSResponse>public BaseSTSResponse issue(BaseSTSRequest request, IssuedTokenContext context) throws WSTrustException
issue in interface WSTrustContract<BaseSTSRequest,BaseSTSResponse>WSTrustExceptionpublic BaseSTSResponse issueMultiple(BaseSTSRequest request, IssuedTokenContext context) throws WSTrustException
WSTrustExceptionpublic BaseSTSResponse renew(BaseSTSRequest request, IssuedTokenContext context) throws WSTrustException
renew in interface WSTrustContract<BaseSTSRequest,BaseSTSResponse>WSTrustExceptionpublic BaseSTSResponse cancel(BaseSTSRequest request, IssuedTokenContext context, Map issuedTokenCtxMap) throws WSTrustException
cancel in interface WSTrustContract<BaseSTSRequest,BaseSTSResponse>WSTrustExceptionpublic BaseSTSResponse validate(BaseSTSRequest request, IssuedTokenContext context) throws WSTrustException
validate in interface WSTrustContract<BaseSTSRequest,BaseSTSResponse>WSTrustExceptionpublic void handleUnsolicited(BaseSTSResponse rstr, IssuedTokenContext context) throws WSTrustException
handleUnsolicited in interface WSTrustContract<BaseSTSRequest,BaseSTSResponse>WSTrustExceptionpublic abstract Token createSAMLAssertion(String appliesTo, String tokenType, String keyType, String assertionId, String issuer, Map<QName,List<String>> claimedAttrs, IssuedTokenContext context) throws WSTrustException
createSAMLAssertion in interface IssueSamlTokenContract<BaseSTSRequest,BaseSTSResponse>WSTrustExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.