Uses of Class
com.sun.xml.ws.api.security.trust.WSTrustException
-
-
Uses of WSTrustException in com.sun.xml.ws.api.security.trust
Methods in com.sun.xml.ws.api.security.trust that throw WSTrustException Modifier and Type Method Description V
WSTrustContract. cancel(K rst, IssuedTokenContext context, Map map)
Cancel a TokenToken
IssueSamlTokenContract. createSAMLAssertion(String appliesTo, String tokenType, String keyType, String assertionId, String issuer, Map<QName,List<String>> claimedAttrs, IssuedTokenContext context)
void
STSTokenProvider. generateToken(IssuedTokenContext ctx)
void
WSTrustContract. handleUnsolicited(V rstr, IssuedTokenContext context)
handle an unsolicited RSTR like in the case of Client Initiated Secure Conversation.void
STSTokenProvider. invalidateToken(IssuedTokenContext ctx)
V
WSTrustContract. issue(K rst, IssuedTokenContext context)
Issue a Tokenvoid
STSTokenProvider. isValideToken(IssuedTokenContext ctx)
V
WSTrustContract. renew(K rst, IssuedTokenContext context)
Renew a Tokenvoid
STSTokenProvider. renewToken(IssuedTokenContext ctx)
V
WSTrustContract. validate(K request, IssuedTokenContext context)
Validate a Token -
Uses of WSTrustException in com.sun.xml.ws.api.security.trust.client
Methods in com.sun.xml.ws.api.security.trust.client that throw WSTrustException Modifier and Type Method Description void
IssuedTokenProvider. cancel(IssuedTokenContext ctx)
void
IssuedTokenManager. cancelIssuedToken(IssuedTokenContext ctx)
void
IssuedTokenManager. getIssuedToken(IssuedTokenContext ctx)
void
IssuedTokenProvider. issue(IssuedTokenContext ctx)
void
IssuedTokenProvider. renew(IssuedTokenContext ctx)
void
IssuedTokenManager. renewIssuedToken(IssuedTokenContext ctx)
void
IssuedTokenProvider. validate(IssuedTokenContext ctx)
void
IssuedTokenManager. validateIssuedToken(IssuedTokenContext ctx)
-
Uses of WSTrustException in com.sun.xml.ws.rx.util
Methods in com.sun.xml.ws.rx.util that throw WSTrustException Modifier and Type Method Description SecurityTokenReferenceType
Communicator. tryStartSecureConversation(Packet request)
If security is enabled, tries to initate secured conversation and obtain the security token reference. -
Uses of WSTrustException in com.sun.xml.ws.security.secconv
Subclasses of WSTrustException in com.sun.xml.ws.security.secconv Modifier and Type Class Description class
WSSecureConversationException
A General WS-SecureConversation Implementation ExceptionConstructors in com.sun.xml.ws.security.secconv with parameters of type WSTrustException Constructor Description WSSecureConversationException(WSTrustException tex)
-
Uses of WSTrustException in com.sun.xml.ws.security.secconv.impl.client
Methods in com.sun.xml.ws.security.secconv.impl.client that throw WSTrustException Modifier and Type Method Description void
SCTokenProviderImpl. cancel(IssuedTokenContext ctx)
void
SCTokenProviderImpl. issue(IssuedTokenContext ctx)
void
SCTokenProviderImpl. renew(IssuedTokenContext ctx)
void
SCTokenProviderImpl. validate(IssuedTokenContext ctx)
-
Uses of WSTrustException in com.sun.xml.ws.security.trust
Methods in com.sun.xml.ws.security.trust that throw WSTrustException Modifier and Type Method Description abstract BinarySecret
WSTrustElementFactory. createBinarySecret(Element elem)
Create a BinarySecretabstract Claims
WSTrustElementFactory. createClaims()
abstract Claims
WSTrustElementFactory. createClaims(Claims claims)
abstract Claims
WSTrustElementFactory. createClaims(Element elem)
abstract RequestSecurityToken
WSTrustElementFactory. createRSTForIssue(URI tokenType, URI requestType, URI context, AppliesTo scopes, Claims claims, Entropy entropy, Lifetime lifetime)
Create an RST for Issue from the given arguments Any of the arguments can be null since they are all optional, but one of tokenType and AppliesTo must be presentabstract RequestSecurityTokenResponseCollection
WSTrustElementFactory. createRSTRCollectionForIssue(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attachedRef, RequestedUnattachedReference unattachedRef, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime)
Create a collection of RequestSecurityTokenResponse(s)BaseSTSResponse
WSTrustClientContract. createRSTRForClientInitiatedIssuedTokenContext(AppliesTo scopes, IssuedTokenContext context)
Create an RSTR for a client initiated IssuedTokenContext establishment, for example a Client Initiated WS-SecureConversation context.abstract RequestSecurityTokenResponse
WSTrustElementFactory. createRSTRForIssue(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attachedRef, RequestedUnattachedReference unattachedRef, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime)
create an RSTR for Issue from the given arguments Any of the arguments can be null since they are all optional, but one of RequestedSecurityToken or RequestedProofToken should be returnedabstract RequestSecurityTokenResponse
WSTrustElementFactory. createRSTRForRenew(URI tokenType, URI context, RequestedSecurityToken token, RequestedAttachedReference attachedReference, RequestedUnattachedReference unattachedRef, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime)
Create an RSTR for a Renewal Responsevoid
WSTrustClientContract. handleRSTR(BaseSTSRequest request, BaseSTSResponse response, IssuedTokenContext context)
Handle an RSTR returned by the Issuer and update Token information into the IssuedTokenContext.BaseSTSResponse
WSTrustClientContract. handleRSTRForNegotiatedExchange(BaseSTSRequest rst, BaseSTSResponse rstr, IssuedTokenContext context)
Handle an RSTR returned by the Issuer and Respond to the Challengestatic WSTrustContract<BaseSTSRequest,BaseSTSResponse>
WSTrustFactory. newWSTrustContract(STSConfiguration config, String appliesTo)
Return a concrete implementor of WSTrustContract.void
TrustPlugin. process(IssuedTokenContext ctx)
void
TrustPlugin. processValidate(IssuedTokenContext ctx)
-
Uses of WSTrustException in com.sun.xml.ws.security.trust.elements
Methods in com.sun.xml.ws.security.trust.elements that throw WSTrustException Modifier and Type Method Description void
WSTrustElementBase. setKeyType(URI keytype)
set KeyType parameter -
Uses of WSTrustException in com.sun.xml.ws.security.trust.impl
Methods in com.sun.xml.ws.security.trust.impl that throw WSTrustException Modifier and Type Method Description BaseSTSResponse
IssueSamlTokenContract. cancel(BaseSTSRequest request, IssuedTokenContext context, Map issuedTokenCtxMap)
Cancel a TokenBaseSTSResponse
WSTrustContractImpl. cancel(BaseSTSRequest rst, IssuedTokenContext context, Map map)
BinarySecret
WSTrustElementFactoryImpl. createBinarySecret(Element elem)
Claims
WSTrustElementFactoryImpl. createClaims()
Claims
WSTrustElementFactoryImpl. createClaims(Claims claims)
Claims
WSTrustElementFactoryImpl. createClaims(Element elem)
RequestSecurityToken
WSTrustElementFactoryImpl. createRSTForIssue(URI tokenType, URI requestType, URI context, AppliesTo scopes, Claims claims, Entropy entropy, Lifetime lifetime)
Create an RST for Issue from the given arguments Any of the arguments can be null since they are all optional, but one of tokenType and AppliesTo must be presentRequestSecurityTokenResponseCollection
WSTrustElementFactoryImpl. createRSTRCollectionForIssue(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attached, RequestedUnattachedReference unattached, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime)
Create a collection of RequestSecurityTokenResponse(s)BaseSTSResponse
WSTrustClientContractImpl. createRSTRForClientInitiatedIssuedTokenContext(AppliesTo scopes, IssuedTokenContext context)
Create an RSTR for a client initiated IssuedTokenContext establishment, for example a Client Initiated WS-SecureConversation context.RequestSecurityTokenResponse
WSTrustElementFactoryImpl. createRSTRForIssue(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attachedReference, RequestedUnattachedReference unattachedRef, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime)
Create an RSTR for Issue from the given arguments.RequestSecurityTokenResponse
WSTrustElementFactoryImpl. createRSTRForRenew(URI tokenType, URI context, RequestedSecurityToken token, RequestedAttachedReference attachedReference, RequestedUnattachedReference unattachedRef, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime)
Create an RSTR for Renew from the given arguments.protected Assertion
DefaultSAMLTokenProvider. createSAML11Assertion(WSTrustVersion wstVer, int lifeSpan, String confirMethod, String assertionId, String issuer, String appliesTo, org.apache.xml.security.keys.KeyInfo keyInfo, Map<QName,List<String>> claimedAttrs, String keyType)
protected Assertion
IssueSamlTokenContractImpl. createSAML11Assertion(String assertionId, String issuer, String appliesTo, org.apache.xml.security.keys.KeyInfo keyInfo, Map<QName,List<String>> claimedAttrs, String keyType)
protected Assertion
DefaultSAMLTokenProvider. createSAML20Assertion(WSTrustVersion wstVer, int lifeSpan, String confirMethod, String assertionId, String issuer, String appliesTo, org.apache.xml.security.keys.KeyInfo keyInfo, Map<QName,List<String>> claimedAttrs, String keyType, String authnCtx)
protected Assertion
IssueSamlTokenContractImpl. createSAML20Assertion(String assertionId, String issuer, String appliesTo, org.apache.xml.security.keys.KeyInfo keyInfo, Map<QName,List<String>> claimedAttrs, String keyType)
abstract Token
IssueSamlTokenContract. createSAMLAssertion(String appliesTo, String tokenType, String keyType, String assertionId, String issuer, Map<QName,List<String>> claimedAttrs, IssuedTokenContext context)
Token
IssueSamlTokenContractImpl. createSAMLAssertion(String appliesTo, String tokenType, String keyType, String assertionId, String issuer, Map<QName,List<String>> claimedAttrs, IssuedTokenContext context)
Token
SBIssuedSamlTokenContractImpl. createSAMLAssertion(String appliesTo, String tokenType, String keyType, String assertionId, String issuer, Map<QName,List<String>> claimedAttrs, IssuedTokenContext context)
protected static QName[]
TrustPluginImpl. doMexRequest(String wsdlLocation, String stsURI)
This method uses mex client api to issue a mex request and return the matching service name and port namevoid
DefaultSAMLTokenProvider. generateToken(IssuedTokenContext ctx)
protected void
WSTrustContractImpl. handleExtension(BaseSTSRequest request, BaseSTSResponse response, IssuedTokenContext context)
void
WSTrustClientContractImpl. handleRSTR(BaseSTSRequest request, BaseSTSResponse response, IssuedTokenContext context)
Handle an RSTR returned by the Issuer and update Token information into the IssuedTokenContext.BaseSTSResponse
WSTrustClientContractImpl. handleRSTRForNegotiatedExchange(BaseSTSRequest request, BaseSTSResponse response, IssuedTokenContext context)
Handle an RSTR returned by the Issuer and Respond to the Challengevoid
IssueSamlTokenContract. handleUnsolicited(BaseSTSResponse rstr, IssuedTokenContext context)
handle an unsolicited RSTR like in the case of Client Initiated Secure Conversation.void
WSTrustContractImpl. handleUnsolicited(BaseSTSResponse rstr, IssuedTokenContext context)
void
DefaultSAMLTokenProvider. invalidateToken(IssuedTokenContext ctx)
BaseSTSResponse
IssueSamlTokenContract. issue(BaseSTSRequest request, IssuedTokenContext context)
Issue a TokenBaseSTSResponse
WSTrustContractImpl. issue(BaseSTSRequest request, IssuedTokenContext context)
BaseSTSResponse
IssueSamlTokenContract. issueMultiple(BaseSTSRequest request, IssuedTokenContext context)
Issue a Collection of Token(s) possibly for different scopesvoid
DefaultSAMLTokenProvider. isValideToken(IssuedTokenContext ctx)
void
TrustPluginImpl. process(IssuedTokenContext itc)
void
TrustPluginImpl. processValidate(IssuedTokenContext itc)
BaseSTSResponse
IssueSamlTokenContract. renew(BaseSTSRequest request, IssuedTokenContext context)
Renew a TokenBaseSTSResponse
WSTrustContractImpl. renew(BaseSTSRequest rst, IssuedTokenContext context)
void
DefaultSAMLTokenProvider. renewToken(IssuedTokenContext ctx)
BaseSTSResponse
IssueSamlTokenContract. validate(BaseSTSRequest request, IssuedTokenContext context)
Validate a TokenBaseSTSResponse
WSTrustContractImpl. validate(BaseSTSRequest request, IssuedTokenContext context)
-
Uses of WSTrustException in com.sun.xml.ws.security.trust.impl.client
Methods in com.sun.xml.ws.security.trust.impl.client that throw WSTrustException Modifier and Type Method Description void
STSIssuedTokenProviderImpl. cancel(IssuedTokenContext ctx)
void
STSIssuedTokenProviderImpl. issue(IssuedTokenContext ctx)
void
STSIssuedTokenProviderImpl. renew(IssuedTokenContext ctx)
void
STSIssuedTokenProviderImpl. validate(IssuedTokenContext ctx)
-
Uses of WSTrustException in com.sun.xml.ws.security.trust.impl.elements
Methods in com.sun.xml.ws.security.trust.impl.elements that throw WSTrustException Modifier and Type Method Description static BinarySecretType
BinarySecretImpl. fromElement(Element element)
Constructs aBinarySecret
element from an existing XML block.static ClaimsType
ClaimsImpl. fromElement(Element element)
static EntropyType
EntropyImpl. fromElement(Element element)
Constructs aEntropy
element from an existing XML block.static LifetimeType
LifetimeImpl. fromElement(Element element)
Constructs aLifetime
element from an existing XML block.static RequestedProofTokenType
RequestedProofTokenImpl. fromElement(Element element)
static RequestedSecurityTokenType
RequestedSecurityTokenImpl. fromElement(Element element)
Constructs aRequestedSecurityToken
element from an existing XML block.void
RequestSecurityTokenImpl. setKeyType(URI keytype)
void
RequestSecurityTokenResponseImpl. setKeyType(URI keytype)
Constructors in com.sun.xml.ws.security.trust.impl.elements that throw WSTrustException Constructor Description ClaimsImpl(ClaimsType clType)
RequestSecurityTokenImpl(RequestSecurityTokenType rstType)
RequestSecurityTokenResponseCollectionImpl(RequestSecurityTokenResponseCollectionType rstrcType)
RequestSecurityTokenResponseImpl(RequestSecurityTokenResponseType rstrType)
-
Uses of WSTrustException in com.sun.xml.ws.security.trust.impl.ic
Methods in com.sun.xml.ws.security.trust.impl.ic that throw WSTrustException Modifier and Type Method Description protected void
ICContractImpl. handleExtension(BaseSTSRequest request, BaseSTSResponse response, IssuedTokenContext context)
-
Uses of WSTrustException in com.sun.xml.ws.security.trust.impl.wssx
Methods in com.sun.xml.ws.security.trust.impl.wssx that throw WSTrustException Modifier and Type Method Description BinarySecret
WSTrustElementFactoryImpl. createBinarySecret(Element elem)
Claims
WSTrustElementFactoryImpl. createClaims()
Claims
WSTrustElementFactoryImpl. createClaims(Claims claims)
Claims
WSTrustElementFactoryImpl. createClaims(Element elem)
RequestSecurityToken
WSTrustElementFactoryImpl. createRSTForIssue(URI tokenType, URI requestType, URI context, AppliesTo scopes, Claims claims, Entropy entropy, Lifetime lt)
Create an RST for Issue from the given arguments Any of the arguments can be null since they are all optional, but one of tokenType and AppliesTo must be presentRequestSecurityTokenResponseCollection
WSTrustElementFactoryImpl. createRSTRCollectionForIssue(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attached, RequestedUnattachedReference unattached, RequestedProofToken proofToken, Entropy entropy, Lifetime lt)
Create a collection of RequestSecurityTokenResponse(s)RequestSecurityTokenResponseCollection
WSTrustElementFactoryImpl. createRSTRCollectionForIssue(List rstrs)
RequestSecurityTokenResponse
WSTrustElementFactoryImpl. createRSTRForIssue(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attachedReference, RequestedUnattachedReference unattachedReference, RequestedProofToken proofToken, Entropy entropy, Lifetime lt)
Create an RSTR for Issue from the given arguments.RequestSecurityTokenResponse
WSTrustElementFactoryImpl. createRSTRForRenew(URI tokenType, URI context, RequestedSecurityToken token, RequestedAttachedReference attachedReference, RequestedUnattachedReference unattachedRef, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime)
Create an RSTR for Renew from the given arguments. -
Uses of WSTrustException in com.sun.xml.ws.security.trust.impl.wssx.elements
Methods in com.sun.xml.ws.security.trust.impl.wssx.elements that throw WSTrustException Modifier and Type Method Description static BinarySecretType
BinarySecretImpl. fromElement(Element element)
Constructs aBinarySecret
element from an existing XML block.static ClaimsType
ClaimsImpl. fromElement(Element element)
static EntropyType
EntropyImpl. fromElement(Element element)
Constructs aEntropy
element from an existing XML block.static LifetimeType
LifetimeImpl. fromElement(Element element)
Constructs aLifetime
element from an existing XML block.static RequestedProofTokenType
RequestedProofTokenImpl. fromElement(Element element)
static RequestedSecurityTokenType
RequestedSecurityTokenImpl. fromElement(Element element)
Constructs aRequestedSecurityToken
element from an existing XML block.void
RequestSecurityTokenImpl. setKeyType(URI keytype)
void
RequestSecurityTokenResponseImpl. setKeyType(URI keytype)
void
SecondaryParametersImpl. setKeyType(URI keytype)
Constructors in com.sun.xml.ws.security.trust.impl.wssx.elements that throw WSTrustException Constructor Description ClaimsImpl(ClaimsType clType)
-
Uses of WSTrustException in com.sun.xml.ws.security.trust.util
Methods in com.sun.xml.ws.security.trust.util that throw WSTrustException Modifier and Type Method Description static Assertion
WSTrustUtil. addSamlAttributes(Assertion assertion, Map<QName,List<String>> claimedAttrs)
-