Class WSTrustElementFactoryImpl
- java.lang.Object
-
- com.sun.xml.ws.security.trust.WSTrustElementFactory
-
- com.sun.xml.ws.security.trust.impl.wssx.WSTrustElementFactoryImpl
-
- Direct Known Subclasses:
WSSCElementFactory13
public class WSTrustElementFactoryImpl extends com.sun.xml.ws.security.trust.WSTrustElementFactory
-
-
Constructor Summary
Constructors Constructor Description WSTrustElementFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.xml.ws.security.trust.elements.ActAscreateActAs(com.sun.xml.ws.security.Token actAsToken)com.sun.xml.ws.security.trust.elements.BinarySecretcreateBinarySecret(byte[] rawValue, String type)com.sun.xml.ws.security.trust.elements.BinarySecretcreateBinarySecret(Element elem)com.sun.xml.ws.security.trust.elements.CancelTargetcreateCancelTarget(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)com.sun.xml.ws.api.security.trust.ClaimscreateClaims()com.sun.xml.ws.api.security.trust.ClaimscreateClaims(com.sun.xml.ws.api.security.trust.Claims claims)com.sun.xml.ws.api.security.trust.ClaimscreateClaims(Element elem)com.sun.xml.ws.security.trust.elements.str.DirectReferencecreateDirectReference(String valueType, String uri)com.sun.xml.ws.security.trust.elements.EntropycreateEntropy(com.sun.xml.ws.security.EncryptedKey key)Create an Entropy with an xenc:EncryptedKeycom.sun.xml.ws.security.trust.elements.EntropycreateEntropy(com.sun.xml.ws.security.trust.elements.BinarySecret secret)Create an Entropy with a BinarySecretcom.sun.xml.ws.security.trust.elements.IssuedTokenscreateIssuedTokens(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection issuedTokens)Create a wst:IssuedTokens objectcom.sun.xml.ws.security.trust.elements.str.KeyIdentifiercreateKeyIdentifier(String valueType, String encodingType)com.sun.xml.ws.security.trust.elements.LifetimecreateLifetime(com.sun.xml.ws.security.wsu10.AttributedDateTime created, com.sun.xml.ws.security.wsu10.AttributedDateTime expires)Create a Lifetime.com.sun.xml.ws.security.trust.elements.OnBehalfOfcreateOnBehalfOf(com.sun.xml.ws.security.Token oboToken)com.sun.xml.ws.security.trust.elements.RenewTargetcreateRenewTarget(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)com.sun.xml.ws.security.trust.elements.RequestedAttachedReferencecreateRequestedAttachedReference(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)Create a RequestedAttachedReference.com.sun.xml.ws.security.trust.elements.RequestedProofTokencreateRequestedProofToken()Create a RequestedProofToken.com.sun.xml.ws.security.trust.elements.RequestedSecurityTokencreateRequestedSecurityToken()Create a RequestedSecurityToken.com.sun.xml.ws.security.trust.elements.RequestedSecurityTokencreateRequestedSecurityToken(com.sun.xml.ws.security.Token token)Create a RequestedSecurityToken.com.sun.xml.ws.security.trust.elements.RequestedUnattachedReferencecreateRequestedUnattachedReference(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)Create a RequestedUnattachedReference.ObjectcreateResponseFrom(jakarta.xml.bind.JAXBElement elem)com.sun.xml.ws.security.trust.elements.RequestSecurityTokencreateRST()Create an Empty RSTcom.sun.xml.ws.security.trust.elements.RequestSecurityTokencreateRSTForCancel(URI requestType, com.sun.xml.ws.security.trust.elements.CancelTarget target)Create an RST for Token Cancellationcom.sun.xml.ws.security.trust.elements.RequestSecurityTokencreateRSTForIssue(URI tokenType, URI requestType, URI context, com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes, com.sun.xml.ws.api.security.trust.Claims claims, com.sun.xml.ws.security.trust.elements.Entropy entropy, com.sun.xml.ws.security.trust.elements.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 presentcom.sun.xml.ws.security.trust.elements.RequestSecurityTokencreateRSTForRenew(URI tokenType, URI requestType, URI context, com.sun.xml.ws.security.trust.elements.RenewTarget target, com.sun.xml.ws.security.trust.elements.AllowPostdating apd, com.sun.xml.ws.security.trust.elements.Renewing renewingInfo)Create an RST for a Renewal Requestcom.sun.xml.ws.security.trust.elements.RequestSecurityTokencreateRSTForValidate(URI tokenType, URI requestType)Create an RST for Token Validationcom.sun.xml.ws.security.trust.elements.RequestSecurityTokencreateRSTFrom(jakarta.xml.bind.JAXBElement elem)create an RST from JAXBElementcom.sun.xml.ws.security.trust.elements.RequestSecurityTokencreateRSTFrom(Source src)create an RST from a Sourcecom.sun.xml.ws.security.trust.elements.RequestSecurityTokencreateRSTFrom(Element elem)create an RST from DOM Elementcom.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsecreateRSTR()Create an Empty RSTRcom.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollectioncreateRSTRC(List<com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse> rstrs)com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollectioncreateRSTRCollectionForIssue(URI tokenType, URI context, com.sun.xml.ws.security.trust.elements.RequestedSecurityToken token, com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes, com.sun.xml.ws.security.trust.elements.RequestedAttachedReference attached, com.sun.xml.ws.security.trust.elements.RequestedUnattachedReference unattached, com.sun.xml.ws.security.trust.elements.RequestedProofToken proofToken, com.sun.xml.ws.security.trust.elements.Entropy entropy, com.sun.xml.ws.security.trust.elements.Lifetime lt)Create a collection of RequestSecurityTokenResponse(s)com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollectioncreateRSTRCollectionForIssue(List rstrs)com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollectioncreateRSTRCollectionFrom(jakarta.xml.bind.JAXBElement elem)create an RSTR Collection from JAXBElementcom.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollectioncreateRSTRCollectionFrom(Source src)Create RSTR Collection from Sourcecom.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollectioncreateRSTRCollectionFrom(Element elem)Create RSTR Collection from Elementcom.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsecreateRSTRForCancel()Create an RSTR for a Successful Token Cancellationcom.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsecreateRSTRForIssue(URI tokenType, URI context, com.sun.xml.ws.security.trust.elements.RequestedSecurityToken token, com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes, com.sun.xml.ws.security.trust.elements.RequestedAttachedReference attachedReference, com.sun.xml.ws.security.trust.elements.RequestedUnattachedReference unattachedReference, com.sun.xml.ws.security.trust.elements.RequestedProofToken proofToken, com.sun.xml.ws.security.trust.elements.Entropy entropy, com.sun.xml.ws.security.trust.elements.Lifetime lt)Create an RSTR for Issue from the given arguments.com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsecreateRSTRForRenew(URI tokenType, URI context, com.sun.xml.ws.security.trust.elements.RequestedSecurityToken token, com.sun.xml.ws.security.trust.elements.RequestedAttachedReference attachedReference, com.sun.xml.ws.security.trust.elements.RequestedUnattachedReference unattachedRef, com.sun.xml.ws.security.trust.elements.RequestedProofToken proofToken, com.sun.xml.ws.security.trust.elements.Entropy entropy, com.sun.xml.ws.security.trust.elements.Lifetime lifetime)Create an RSTR for Renew from the given arguments.com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsecreateRSTRForValidate(URI tokenType, com.sun.xml.ws.security.trust.elements.RequestedSecurityToken token, com.sun.xml.ws.api.security.trust.Status status)create an RSTR for validate request.com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsecreateRSTRFrom(jakarta.xml.bind.JAXBElement elem)create an RSTR from JAXBElementcom.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsecreateRSTRFrom(Source src)create an RSTR from a Sourcecom.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponsecreateRSTRFrom(Element elem)create an RSTR from DOM Elementcom.sun.xml.ws.security.trust.elements.SecondaryParameterscreateSecondaryParameters()com.sun.xml.ws.security.SecurityContextTokencreateSecurityContextToken(URI identifier, String instance, String wsuId)com.sun.xml.ws.security.trust.elements.str.SecurityTokenReferencecreateSecurityTokenReference(com.sun.xml.ws.security.trust.elements.str.Reference ref)com.sun.xml.ws.security.trust.elements.str.SecurityTokenReferencecreateSecurityTokenReference(jakarta.xml.bind.JAXBElement elem)com.sun.xml.ws.api.security.trust.StatuscreateStatus(String code, String reason)com.sun.xml.ws.security.trust.elements.UseKeycreateUseKey(com.sun.xml.ws.security.Token token, String sig)com.sun.xml.ws.security.trust.elements.ValidateTargetcreateValidateTarget(com.sun.xml.ws.security.Token token)jakarta.xml.bind.MarshallergetMarshaller()ElementtoElement(com.sun.xml.ws.security.trust.elements.BaseSTSRequest request)ElementtoElement(com.sun.xml.ws.security.trust.elements.BaseSTSResponse response)ElementtoElement(com.sun.xml.ws.security.trust.elements.BinarySecret bs)ElementtoElement(com.sun.xml.ws.security.trust.elements.BinarySecret bs, Document doc)Marshal an BinarySecret to a DOM Element.ElementtoElement(com.sun.xml.ws.security.trust.elements.RequestSecurityToken rst)Marshal an RST to a DOM Element.ElementtoElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr)Marshal an RSTR to DOM ElementElementtoElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection rstrCollection)Marshal an RSTR Collection to a DOM ElementElementtoElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr, Document doc)ElementtoElement(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str, Document doc)Marshal an STR to a DOM Element.jakarta.xml.bind.JAXBElementtoJAXBElement(com.sun.xml.ws.security.trust.elements.BaseSTSRequest request)jakarta.xml.bind.JAXBElementtoJAXBElement(com.sun.xml.ws.security.trust.elements.BaseSTSResponse response)jakarta.xml.bind.JAXBElementtoJAXBElement(com.sun.xml.ws.security.trust.elements.Entropy entropy)convert a Entropy to a JAXBElementjakarta.xml.bind.JAXBElementtoJAXBElement(com.sun.xml.ws.security.trust.elements.RequestSecurityToken rst)convert an RST to a JAXBElementjakarta.xml.bind.JAXBElementtoJAXBElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr)convert an RSTR to a JAXBElementjakarta.xml.bind.JAXBElementtoJAXBElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection rstrCollection)convert an RSTR Collection to a JAXBElementjakarta.xml.bind.JAXBElementtoJAXBElement(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)convert an SecurityTokenReference to a JAXBElementSourcetoSource(com.sun.xml.ws.security.trust.elements.BaseSTSRequest request)SourcetoSource(com.sun.xml.ws.security.trust.elements.BaseSTSResponse response)SourcetoSource(com.sun.xml.ws.security.trust.elements.RequestSecurityToken rst)Marshal an RST to a Source.SourcetoSource(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr)Marshal an RSTR to a SourceSourcetoSource(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection rstrCollection)Marshal an RSTR Collection to a Source
-
-
-
Method Detail
-
createRSTForIssue
public com.sun.xml.ws.security.trust.elements.RequestSecurityToken createRSTForIssue(URI tokenType, URI requestType, URI context, com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes, com.sun.xml.ws.api.security.trust.Claims claims, com.sun.xml.ws.security.trust.elements.Entropy entropy, com.sun.xml.ws.security.trust.elements.Lifetime lt) throws com.sun.xml.ws.api.security.trust.WSTrustException
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 present- Specified by:
createRSTForIssuein classcom.sun.xml.ws.security.trust.WSTrustElementFactory- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
createRSTRForIssue
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse createRSTRForIssue(URI tokenType, URI context, com.sun.xml.ws.security.trust.elements.RequestedSecurityToken token, com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes, com.sun.xml.ws.security.trust.elements.RequestedAttachedReference attachedReference, com.sun.xml.ws.security.trust.elements.RequestedUnattachedReference unattachedReference, com.sun.xml.ws.security.trust.elements.RequestedProofToken proofToken, com.sun.xml.ws.security.trust.elements.Entropy entropy, com.sun.xml.ws.security.trust.elements.Lifetime lt) throws com.sun.xml.ws.api.security.trust.WSTrustException
Create an RSTR for Issue from the given arguments. TokenType should be Issue. Any of the arguments can be null since they are all optional, but one of RequestedSecurityToken or RequestedProofToken should be returned- Specified by:
createRSTRForIssuein classcom.sun.xml.ws.security.trust.WSTrustElementFactory- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
createRSTRCollectionForIssue
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection createRSTRCollectionForIssue(URI tokenType, URI context, com.sun.xml.ws.security.trust.elements.RequestedSecurityToken token, com.sun.xml.ws.policy.impl.bindings.AppliesTo scopes, com.sun.xml.ws.security.trust.elements.RequestedAttachedReference attached, com.sun.xml.ws.security.trust.elements.RequestedUnattachedReference unattached, com.sun.xml.ws.security.trust.elements.RequestedProofToken proofToken, com.sun.xml.ws.security.trust.elements.Entropy entropy, com.sun.xml.ws.security.trust.elements.Lifetime lt) throws com.sun.xml.ws.api.security.trust.WSTrustException
Create a collection of RequestSecurityTokenResponse(s)- Specified by:
createRSTRCollectionForIssuein classcom.sun.xml.ws.security.trust.WSTrustElementFactory- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
createRSTRCollectionForIssue
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection createRSTRCollectionForIssue(List rstrs) throws com.sun.xml.ws.api.security.trust.WSTrustException
- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
createRSTRForRenew
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse createRSTRForRenew(URI tokenType, URI context, com.sun.xml.ws.security.trust.elements.RequestedSecurityToken token, com.sun.xml.ws.security.trust.elements.RequestedAttachedReference attachedReference, com.sun.xml.ws.security.trust.elements.RequestedUnattachedReference unattachedRef, com.sun.xml.ws.security.trust.elements.RequestedProofToken proofToken, com.sun.xml.ws.security.trust.elements.Entropy entropy, com.sun.xml.ws.security.trust.elements.Lifetime lifetime) throws com.sun.xml.ws.api.security.trust.WSTrustException
Create an RSTR for Renew from the given arguments. TokenType should be Issue. Any of the arguments can be null since they are all optional, but one of RequestedSecurityToken or RequestedProofToken should be returned- Specified by:
createRSTRForRenewin classcom.sun.xml.ws.security.trust.WSTrustElementFactory- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
createIssuedTokens
public com.sun.xml.ws.security.trust.elements.IssuedTokens createIssuedTokens(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection issuedTokens)
Create a wst:IssuedTokens object- Specified by:
createIssuedTokensin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createEntropy
public com.sun.xml.ws.security.trust.elements.Entropy createEntropy(com.sun.xml.ws.security.trust.elements.BinarySecret secret)
Create an Entropy with a BinarySecret- Specified by:
createEntropyin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createEntropy
public com.sun.xml.ws.security.trust.elements.Entropy createEntropy(com.sun.xml.ws.security.EncryptedKey key)
Create an Entropy with an xenc:EncryptedKey- Specified by:
createEntropyin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createBinarySecret
public com.sun.xml.ws.security.trust.elements.BinarySecret createBinarySecret(byte[] rawValue, String type)- Specified by:
createBinarySecretin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createBinarySecret
public com.sun.xml.ws.security.trust.elements.BinarySecret createBinarySecret(Element elem) throws com.sun.xml.ws.api.security.trust.WSTrustException
- Specified by:
createBinarySecretin classcom.sun.xml.ws.security.trust.WSTrustElementFactory- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
createClaims
public com.sun.xml.ws.api.security.trust.Claims createClaims(Element elem) throws com.sun.xml.ws.api.security.trust.WSTrustException
- Specified by:
createClaimsin classcom.sun.xml.ws.security.trust.WSTrustElementFactory- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
createClaims
public com.sun.xml.ws.api.security.trust.Claims createClaims(com.sun.xml.ws.api.security.trust.Claims claims) throws com.sun.xml.ws.api.security.trust.WSTrustException- Specified by:
createClaimsin classcom.sun.xml.ws.security.trust.WSTrustElementFactory- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
createClaims
public com.sun.xml.ws.api.security.trust.Claims createClaims() throws com.sun.xml.ws.api.security.trust.WSTrustException- Specified by:
createClaimsin classcom.sun.xml.ws.security.trust.WSTrustElementFactory- Throws:
com.sun.xml.ws.api.security.trust.WSTrustException
-
createStatus
public com.sun.xml.ws.api.security.trust.Status createStatus(String code, String reason)
- Specified by:
createStatusin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createLifetime
public com.sun.xml.ws.security.trust.elements.Lifetime createLifetime(com.sun.xml.ws.security.wsu10.AttributedDateTime created, com.sun.xml.ws.security.wsu10.AttributedDateTime expires)Create a Lifetime.- Specified by:
createLifetimein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createOnBehalfOf
public com.sun.xml.ws.security.trust.elements.OnBehalfOf createOnBehalfOf(com.sun.xml.ws.security.Token oboToken)
- Specified by:
createOnBehalfOfin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createActAs
public com.sun.xml.ws.security.trust.elements.ActAs createActAs(com.sun.xml.ws.security.Token actAsToken)
- Specified by:
createActAsin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRequestedSecurityToken
public com.sun.xml.ws.security.trust.elements.RequestedSecurityToken createRequestedSecurityToken(com.sun.xml.ws.security.Token token)
Create a RequestedSecurityToken.- Specified by:
createRequestedSecurityTokenin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRequestedSecurityToken
public com.sun.xml.ws.security.trust.elements.RequestedSecurityToken createRequestedSecurityToken()
Create a RequestedSecurityToken.- Specified by:
createRequestedSecurityTokenin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createDirectReference
public com.sun.xml.ws.security.trust.elements.str.DirectReference createDirectReference(String valueType, String uri)
- Specified by:
createDirectReferencein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createKeyIdentifier
public com.sun.xml.ws.security.trust.elements.str.KeyIdentifier createKeyIdentifier(String valueType, String encodingType)
- Specified by:
createKeyIdentifierin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createSecurityTokenReference
public com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference createSecurityTokenReference(com.sun.xml.ws.security.trust.elements.str.Reference ref)
- Specified by:
createSecurityTokenReferencein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRequestedAttachedReference
public com.sun.xml.ws.security.trust.elements.RequestedAttachedReference createRequestedAttachedReference(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)
Create a RequestedAttachedReference.- Specified by:
createRequestedAttachedReferencein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRequestedUnattachedReference
public com.sun.xml.ws.security.trust.elements.RequestedUnattachedReference createRequestedUnattachedReference(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)
Create a RequestedUnattachedReference.- Specified by:
createRequestedUnattachedReferencein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRequestedProofToken
public com.sun.xml.ws.security.trust.elements.RequestedProofToken createRequestedProofToken()
Create a RequestedProofToken.- Specified by:
createRequestedProofTokenin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTForRenew
public com.sun.xml.ws.security.trust.elements.RequestSecurityToken createRSTForRenew(URI tokenType, URI requestType, URI context, com.sun.xml.ws.security.trust.elements.RenewTarget target, com.sun.xml.ws.security.trust.elements.AllowPostdating apd, com.sun.xml.ws.security.trust.elements.Renewing renewingInfo)
Create an RST for a Renewal Request- Specified by:
createRSTForRenewin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRenewTarget
public com.sun.xml.ws.security.trust.elements.RenewTarget createRenewTarget(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)
- Specified by:
createRenewTargetin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createCancelTarget
public com.sun.xml.ws.security.trust.elements.CancelTarget createCancelTarget(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)
- Specified by:
createCancelTargetin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createValidateTarget
public com.sun.xml.ws.security.trust.elements.ValidateTarget createValidateTarget(com.sun.xml.ws.security.Token token)
- Specified by:
createValidateTargetin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createSecondaryParameters
public com.sun.xml.ws.security.trust.elements.SecondaryParameters createSecondaryParameters()
- Specified by:
createSecondaryParametersin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createUseKey
public com.sun.xml.ws.security.trust.elements.UseKey createUseKey(com.sun.xml.ws.security.Token token, String sig)- Specified by:
createUseKeyin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTForCancel
public com.sun.xml.ws.security.trust.elements.RequestSecurityToken createRSTForCancel(URI requestType, com.sun.xml.ws.security.trust.elements.CancelTarget target)
Create an RST for Token Cancellation- Specified by:
createRSTForCancelin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTRForCancel
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse createRSTRForCancel()
Create an RSTR for a Successful Token Cancellation- Specified by:
createRSTRForCancelin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTForValidate
public com.sun.xml.ws.security.trust.elements.RequestSecurityToken createRSTForValidate(URI tokenType, URI requestType)
Create an RST for Token ValidationTODO: Not clear from Spec whether the Token to be validated is ever sent ? TODO: There is a mention of special case where a SOAPEnvelope may be specified as a security token if the requestor desires the envelope to be validated.
- Specified by:
createRSTForValidatein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTRForValidate
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse createRSTRForValidate(URI tokenType, com.sun.xml.ws.security.trust.elements.RequestedSecurityToken token, com.sun.xml.ws.api.security.trust.Status status)
create an RSTR for validate request.- Specified by:
createRSTRForValidatein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRST
public com.sun.xml.ws.security.trust.elements.RequestSecurityToken createRST()
Create an Empty RST- Specified by:
createRSTin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTR
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse createRSTR()
Create an Empty RSTR- Specified by:
createRSTRin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTRC
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection createRSTRC(List<com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse> rstrs)
- Specified by:
createRSTRCin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTFrom
public com.sun.xml.ws.security.trust.elements.RequestSecurityToken createRSTFrom(Source src)
create an RST from a Source- Specified by:
createRSTFromin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTFrom
public com.sun.xml.ws.security.trust.elements.RequestSecurityToken createRSTFrom(Element elem)
create an RST from DOM Element- Specified by:
createRSTFromin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTRFrom
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse createRSTRFrom(Source src)
create an RSTR from a Source- Specified by:
createRSTRFromin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTRFrom
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse createRSTRFrom(Element elem)
create an RSTR from DOM Element- Specified by:
createRSTRFromin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTRCollectionFrom
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection createRSTRCollectionFrom(Source src)
Create RSTR Collection from Source- Specified by:
createRSTRCollectionFromin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTRCollectionFrom
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection createRSTRCollectionFrom(Element elem)
Create RSTR Collection from Element- Specified by:
createRSTRCollectionFromin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTFrom
public com.sun.xml.ws.security.trust.elements.RequestSecurityToken createRSTFrom(jakarta.xml.bind.JAXBElement elem)
create an RST from JAXBElementNOTE: an STS Implementor can call
JAXBElement<RequestSecurityTokenType> elem= ObjectFactory.createRequestSecurityToken(<JAXBBean for RST>)
The JAXBBean for RST is the one generated from the ws-trust.xsd schema The default implementation expects the packagename of the generated JAXB Beans to be fixed.- Specified by:
createRSTFromin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTRFrom
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse createRSTRFrom(jakarta.xml.bind.JAXBElement elem)
create an RSTR from JAXBElementNOTE: an STS Implementor can call
JAXBElement<RequestSecurityTokenResponseType> elem= ObjectFactory.createRequestSecurityTokenResponse(<JAXBBean for RSTR>);
The <JAXBBean for RSTR> is the one generated from the ws-trust.xsd schema The default implementation expects the packagename of the generated JAXB Beans to be fixed.- Specified by:
createRSTRFromin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createRSTRCollectionFrom
public com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection createRSTRCollectionFrom(jakarta.xml.bind.JAXBElement elem)
create an RSTR Collection from JAXBElementNOTE: an STS Implementor can call
JAXBElement<RequestSecurityTokenResponseCollectionType> elem= ObjectFactory.createRequestSecurityTokenResponseCollection(<JAXBBean for RSTR Collection>
The <JAXBBean for RSTR Collection> is the one generated from the ws-trust.xsd schema The default implementation expects the packagename of the generated JAXB Beans to be fixed.- Specified by:
createRSTRCollectionFromin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createResponseFrom
public Object createResponseFrom(jakarta.xml.bind.JAXBElement elem)
-
createSecurityTokenReference
public com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference createSecurityTokenReference(jakarta.xml.bind.JAXBElement elem)
- Specified by:
createSecurityTokenReferencein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
createSecurityContextToken
public com.sun.xml.ws.security.SecurityContextToken createSecurityContextToken(URI identifier, String instance, String wsuId)
- Specified by:
createSecurityContextTokenin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toJAXBElement
public jakarta.xml.bind.JAXBElement toJAXBElement(com.sun.xml.ws.security.trust.elements.BaseSTSRequest request)
- Specified by:
toJAXBElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toJAXBElement
public jakarta.xml.bind.JAXBElement toJAXBElement(com.sun.xml.ws.security.trust.elements.BaseSTSResponse response)
- Specified by:
toJAXBElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toJAXBElement
public jakarta.xml.bind.JAXBElement toJAXBElement(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str)
convert an SecurityTokenReference to a JAXBElement- Specified by:
toJAXBElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toJAXBElement
public jakarta.xml.bind.JAXBElement toJAXBElement(com.sun.xml.ws.security.trust.elements.RequestSecurityToken rst)
convert an RST to a JAXBElement- Specified by:
toJAXBElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toJAXBElement
public jakarta.xml.bind.JAXBElement toJAXBElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr)
convert an RSTR to a JAXBElement- Specified by:
toJAXBElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toJAXBElement
public jakarta.xml.bind.JAXBElement toJAXBElement(com.sun.xml.ws.security.trust.elements.Entropy entropy)
convert a Entropy to a JAXBElement
-
toJAXBElement
public jakarta.xml.bind.JAXBElement toJAXBElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection rstrCollection)
convert an RSTR Collection to a JAXBElement- Specified by:
toJAXBElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toSource
public Source toSource(com.sun.xml.ws.security.trust.elements.BaseSTSRequest request)
- Specified by:
toSourcein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toSource
public Source toSource(com.sun.xml.ws.security.trust.elements.BaseSTSResponse response)
- Specified by:
toSourcein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toSource
public Source toSource(com.sun.xml.ws.security.trust.elements.RequestSecurityToken rst)
Marshal an RST to a Source.Note: Useful for Dispatch Client implementations
- Specified by:
toSourcein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toSource
public Source toSource(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr)
Marshal an RSTR to a SourceNote: Useful for STS implementations which are JAXWS Providers
- Specified by:
toSourcein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toSource
public Source toSource(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection rstrCollection)
Marshal an RSTR Collection to a SourceNote: Useful for STS implementations which are JAXWS Providers
- Specified by:
toSourcein classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toElement
public Element toElement(com.sun.xml.ws.security.trust.elements.BaseSTSRequest request)
- Specified by:
toElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toElement
public Element toElement(com.sun.xml.ws.security.trust.elements.BaseSTSResponse response)
- Specified by:
toElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toElement
public Element toElement(com.sun.xml.ws.security.trust.elements.RequestSecurityToken rst)
Marshal an RST to a DOM Element.Note: Useful for Dispatch Client implementations
- Specified by:
toElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toElement
public Element toElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr)
Marshal an RSTR to DOM ElementNote: Useful for STS implementations which are JAXWS Providers
- Specified by:
toElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toElement
public Element toElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse rstr, Document doc)
- Specified by:
toElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toElement
public Element toElement(com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponseCollection rstrCollection)
Marshal an RSTR Collection to a DOM ElementNote: Useful for STS implementations which are JAXWS Providers
- Specified by:
toElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toElement
public Element toElement(com.sun.xml.ws.security.trust.elements.BinarySecret bs)
- Specified by:
toElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toElement
public Element toElement(com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference str, Document doc)
Marshal an STR to a DOM Element.Note: Useful for Dispatch Client implementations
- Specified by:
toElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
toElement
public Element toElement(com.sun.xml.ws.security.trust.elements.BinarySecret bs, Document doc)
Marshal an BinarySecret to a DOM Element.Note: Useful for Dispatch Client implementations
- Specified by:
toElementin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
getMarshaller
public jakarta.xml.bind.Marshaller getMarshaller()
- Specified by:
getMarshallerin classcom.sun.xml.ws.security.trust.WSTrustElementFactory
-
-