| java.lang.Object com.sun.xml.ws.security.trust.WSTrustElementFactory com.sun.xml.ws.security.trust.impl.wssx.WSTrustElementFactoryImpl
Method Summary | |
public BinarySecret | createBinarySecret(byte[] rawValue, String type) | public BinarySecret | createBinarySecret(Element elem) | public CancelTarget | createCancelTarget(SecurityTokenReference str) | public DirectReference | createDirectReference(String valueType, String uri) | public Entropy | createEntropy(BinarySecret secret) | public Entropy | createEntropy(EncryptedKey key) | public IssuedTokens | createIssuedTokens(RequestSecurityTokenResponseCollection issuedTokens) | public KeyIdentifier | createKeyIdentifier(String valueType, String encodingType) | public Lifetime | createLifetime(AttributedDateTime created, AttributedDateTime expires) Create a Lifetime. | public RequestSecurityToken | createRST() | public RequestSecurityToken | createRSTForCancel(URI requestType, CancelTarget target) | public RequestSecurityToken | createRSTForIssue(URI tokenType, URI requestType, URI context, AppliesTo scopes, Claims claims, Entropy entropy, Lifetime lt) | public RequestSecurityToken | createRSTForRenew(URI tokenType, URI requestType, URI context, RenewTarget target, AllowPostdating apd, Renewing renewingInfo) | public RequestSecurityToken | createRSTForValidate(URI tokenType, URI requestType) Create an RST for Token Validation
TODO: 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. | public RequestSecurityToken | createRSTFrom(Source src) | public RequestSecurityToken | createRSTFrom(Element elem) | public RequestSecurityToken | createRSTFrom(JAXBElement elem) create an RST from JAXBElement
NOTE: 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. | public RequestSecurityTokenResponse | createRSTR() | public RequestSecurityTokenResponseCollection | createRSTRCollectionForIssue(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attached, RequestedUnattachedReference unattached, RequestedProofToken proofToken, Entropy entropy, Lifetime lt) | public RequestSecurityTokenResponseCollection | createRSTRCollectionForIssue(List rstrs) | public RequestSecurityTokenResponseCollection | createRSTRCollectionFrom(Source src) | public RequestSecurityTokenResponseCollection | createRSTRCollectionFrom(Element elem) | public RequestSecurityTokenResponseCollection | createRSTRCollectionFrom(JAXBElement elem) create an RSTR Collection from JAXBElement
NOTE: 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. | public RequestSecurityTokenResponse | createRSTRForCancel() | public RequestSecurityTokenResponse | 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. | public RequestSecurityTokenResponse | createRSTRForValidate(URI tokenType, RequestedSecurityToken token, Status status) create an RSTR for validate request. | public RequestSecurityTokenResponse | createRSTRFrom(Source src) | public RequestSecurityTokenResponse | createRSTRFrom(Element elem) | public RequestSecurityTokenResponse | createRSTRFrom(JAXBElement elem) create an RSTR from JAXBElement
NOTE: 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. | public RequestedAttachedReference | createRequestedAttachedReference(SecurityTokenReference str) Create a RequestedAttachedReference. | public RequestedProofToken | createRequestedProofToken() Create a RequestedProofToken. | public RequestedSecurityToken | createRequestedSecurityToken(Token token) Create a RequestedSecurityToken. | public RequestedSecurityToken | createRequestedSecurityToken() Create a RequestedSecurityToken. | public RequestedUnattachedReference | createRequestedUnattachedReference(SecurityTokenReference str) Create a RequestedUnattachedReference. | public Object | createResponseFrom(JAXBElement elem) | public SecurityTokenReference | createSecurityTokenReference(Reference ref) | public SecurityTokenReference | createSecurityTokenReference(JAXBElement elem) | public Element | toElement(RequestSecurityToken rst) Marshal an RST to a DOM Element. | public Element | toElement(RequestSecurityTokenResponse rstr) | public Element | toElement(RequestSecurityTokenResponse rstr, Document doc) | public Element | toElement(RequestSecurityTokenResponseCollection rstrCollection) | public Element | toElement(BinarySecret bs) | public Element | toElement(SecurityTokenReference str, Document doc) Marshal an STR to a DOM Element. | public Element | toElement(BinarySecret bs, Document doc) Marshal an BinarySecret to a DOM Element. | public JAXBElement | toJAXBElement(SecurityTokenReference str) | public JAXBElement | toJAXBElement(RequestSecurityToken rst) | public JAXBElement | toJAXBElement(RequestSecurityTokenResponse rstr) | public JAXBElement | toJAXBElement(Entropy entropy) | public JAXBElement | toJAXBElement(RequestSecurityTokenResponseCollection rstrCollection) | public Source | toSource(RequestSecurityToken rst) Marshal an RST to a Source. | public Source | toSource(RequestSecurityTokenResponse rstr) | public Source | toSource(RequestSecurityTokenResponseCollection rstrCollection) |
createEntropy | public Entropy createEntropy(EncryptedKey key)(Code) | | Create an Entropy with an xenc:EncryptedKey
|
createLifetime | public Lifetime createLifetime(AttributedDateTime created, AttributedDateTime expires)(Code) | | Create a Lifetime.
|
createRSTForIssue | public RequestSecurityToken createRSTForIssue(URI tokenType, URI requestType, URI context, AppliesTo scopes, Claims claims, Entropy entropy, Lifetime lt) throws WSTrustException(Code) | | 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
|
createRSTForValidate | public RequestSecurityToken createRSTForValidate(URI tokenType, URI requestType)(Code) | | Create an RST for Token Validation
TODO: 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.
|
createRSTFrom | public RequestSecurityToken createRSTFrom(JAXBElement elem)(Code) | | create an RST from JAXBElement
NOTE: 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.
|
createRSTRCollectionFrom | public RequestSecurityTokenResponseCollection createRSTRCollectionFrom(JAXBElement elem)(Code) | | create an RSTR Collection from JAXBElement
NOTE: 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.
|
createRSTRFrom | public RequestSecurityTokenResponse createRSTRFrom(JAXBElement elem)(Code) | | create an RSTR from JAXBElement
NOTE: 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.
|
Methods inherited from com.sun.xml.ws.security.trust.WSTrustElementFactory | abstract public BinarySecret createBinarySecret(byte[] rawValue, String type)(Code)(Java Doc) abstract public BinarySecret createBinarySecret(Element elem) throws WSTrustException(Code)(Java Doc) abstract public CancelTarget createCancelTarget(SecurityTokenReference str)(Code)(Java Doc) abstract public DirectReference createDirectReference(String valueType, String uri)(Code)(Java Doc) abstract public Entropy createEntropy(BinarySecret secret)(Code)(Java Doc) abstract public Entropy createEntropy(EncryptedKey key)(Code)(Java Doc) abstract public IssuedTokens createIssuedTokens(RequestSecurityTokenResponseCollection issuedTokens)(Code)(Java Doc) abstract public KeyIdentifier createKeyIdentifier(String valueType, String encodingType)(Code)(Java Doc) abstract public Lifetime createLifetime(AttributedDateTime created, AttributedDateTime expires)(Code)(Java Doc) abstract public RequestSecurityToken createRST()(Code)(Java Doc) abstract public RequestSecurityToken createRSTForCancel(URI requestType, CancelTarget target)(Code)(Java Doc) abstract public RequestSecurityToken createRSTForIssue(URI tokenType, URI requestType, URI context, AppliesTo scopes, Claims claims, Entropy entropy, Lifetime lifetime) throws WSTrustException(Code)(Java Doc) abstract public RequestSecurityToken createRSTForRenew(URI tokenType, URI requestType, URI context, RenewTarget target, AllowPostdating apd, Renewing renewingInfo)(Code)(Java Doc) abstract public RequestSecurityToken createRSTForValidate(URI tokenType, URI requestType)(Code)(Java Doc) abstract public RequestSecurityToken createRSTFrom(Source src)(Code)(Java Doc) abstract public RequestSecurityToken createRSTFrom(Element elem)(Code)(Java Doc) abstract public RequestSecurityToken createRSTFrom(JAXBElement elem)(Code)(Java Doc) abstract public RequestSecurityTokenResponse createRSTR()(Code)(Java Doc) abstract public RequestSecurityTokenResponseCollection createRSTRCollectionForIssue(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attachedRef, RequestedUnattachedReference unattachedRef, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime) throws WSTrustException(Code)(Java Doc) abstract public RequestSecurityTokenResponseCollection createRSTRCollectionFrom(Source src)(Code)(Java Doc) abstract public RequestSecurityTokenResponseCollection createRSTRCollectionFrom(Element elem)(Code)(Java Doc) abstract public RequestSecurityTokenResponseCollection createRSTRCollectionFrom(JAXBElement elem)(Code)(Java Doc) abstract public RequestSecurityTokenResponse createRSTRForCancel()(Code)(Java Doc) abstract public RequestSecurityTokenResponse createRSTRForIssue(URI tokenType, URI context, RequestedSecurityToken token, AppliesTo scopes, RequestedAttachedReference attachedRef, RequestedUnattachedReference unattachedRef, RequestedProofToken proofToken, Entropy entropy, Lifetime lifetime) throws WSTrustException(Code)(Java Doc) abstract public RequestSecurityTokenResponse createRSTRForValidate(URI tokenType, RequestedSecurityToken token, Status status)(Code)(Java Doc) abstract public RequestSecurityTokenResponse createRSTRFrom(Source src)(Code)(Java Doc) abstract public RequestSecurityTokenResponse createRSTRFrom(Element elem)(Code)(Java Doc) abstract public RequestSecurityTokenResponse createRSTRFrom(JAXBElement elem)(Code)(Java Doc) abstract public RequestedAttachedReference createRequestedAttachedReference(SecurityTokenReference str)(Code)(Java Doc) abstract public RequestedProofToken createRequestedProofToken()(Code)(Java Doc) abstract public RequestedSecurityToken createRequestedSecurityToken(Token token)(Code)(Java Doc) abstract public RequestedSecurityToken createRequestedSecurityToken()(Code)(Java Doc) abstract public RequestedUnattachedReference createRequestedUnattachedReference(SecurityTokenReference str)(Code)(Java Doc) abstract public SecurityTokenReference createSecurityTokenReference(Reference ref)(Code)(Java Doc) abstract public SecurityTokenReference createSecurityTokenReference(JAXBElement elem)(Code)(Java Doc) public static JAXBContext getContext()(Code)(Java Doc) public static WSTrustElementFactory newInstance()(Code)(Java Doc) abstract public Element toElement(RequestSecurityToken rst)(Code)(Java Doc) abstract public Element toElement(RequestSecurityTokenResponse rstr)(Code)(Java Doc) abstract public Element toElement(RequestSecurityTokenResponse rstr, Document doc)(Code)(Java Doc) abstract public Element toElement(RequestSecurityTokenResponseCollection rstrCollection)(Code)(Java Doc) abstract public Element toElement(BinarySecret binarySecret)(Code)(Java Doc) abstract public Element toElement(SecurityTokenReference str, Document doc)(Code)(Java Doc) abstract public Element toElement(BinarySecret binarySecret, Document doc)(Code)(Java Doc) abstract public JAXBElement toJAXBElement(SecurityTokenReference str)(Code)(Java Doc) abstract public JAXBElement toJAXBElement(RequestSecurityToken rst)(Code)(Java Doc) abstract public JAXBElement toJAXBElement(RequestSecurityTokenResponse rstr)(Code)(Java Doc) abstract public JAXBElement toJAXBElement(RequestSecurityTokenResponseCollection rstrCollection)(Code)(Java Doc) abstract public Source toSource(RequestSecurityToken rst)(Code)(Java Doc) abstract public Source toSource(RequestSecurityTokenResponse rstr)(Code)(Java Doc) abstract public Source toSource(RequestSecurityTokenResponseCollection rstrCollection)(Code)(Java Doc)
|
|
|