AbstractSAMLTokenHandler, SAML2TokenHandler, SAMLTokenHandlerpublic interface SecurityTokenHandler
| Modifier and Type | Method | Description |
|---|---|---|
KeyProvider |
getKeyProvider(SecurityToken token,
javax.xml.rpc.handler.MessageContext ctx) |
Deprecated.
|
javax.xml.namespace.QName[] |
getQNames() |
Deprecated.
Returns an array of QNames of the SecurityTokens this factory can create
from an according DOM node.
|
SecurityToken |
getSecurityToken(java.lang.String valueType,
java.lang.Object credentials,
ContextHandler ctxHandler) |
Deprecated.
|
SecurityToken |
getSecurityToken(java.lang.String valueType,
java.lang.String issuer,
Purpose p,
ContextHandler ctxHandler) |
Deprecated.
|
SecurityToken |
getSecurityToken(SecurityTokenReference str,
javax.xml.rpc.handler.MessageContext ctx) |
Deprecated.
|
SecurityTokenReference |
getSTR(javax.xml.namespace.QName STRType,
java.lang.String valueType,
SecurityToken token) |
Deprecated.
Creates a SecurityTokenReference from a SecurityToken or Credential.
|
javax.security.auth.Subject |
getSubject(SecurityToken token,
javax.xml.rpc.handler.MessageContext msgCtx) |
Deprecated.
|
java.lang.String[] |
getValueTypes() |
Deprecated.
Returns an array of ValueType URIs of the SecurityTokens this factory can
create from an according DOM node.
|
boolean |
matches(SecurityToken token,
java.lang.String tokenType,
java.lang.String issuerName,
ContextHandler ctxHandler,
Purpose p) |
Deprecated.
|
SecurityToken |
newSecurityToken(org.w3c.dom.Node node) |
Deprecated.
Creates a SecurityToken from a node.
|
SecurityTokenReference |
newSecurityTokenReference(org.w3c.dom.Node node) |
Deprecated.
|
SecurityTokenValidateResult |
validateProcessed(SecurityToken token,
javax.xml.rpc.handler.MessageContext ctx) |
Deprecated.
|
SecurityTokenValidateResult |
validateUnmarshalled(SecurityToken token,
javax.xml.rpc.handler.MessageContext ctx) |
Deprecated.
|
SecurityToken getSecurityToken(java.lang.String valueType, java.lang.Object credentials, ContextHandler ctxHandler) throws WSSecurityException
WSSecurityExceptionSecurityToken getSecurityToken(java.lang.String valueType, java.lang.String issuer, Purpose p, ContextHandler ctxHandler) throws WSSecurityException
WSSecurityExceptionSecurityTokenReference getSTR(javax.xml.namespace.QName STRType, java.lang.String valueType, SecurityToken token) throws WSSecurityException
STRType - QName of the child element of SecurityTokenReference that
specifies the reference mechanism. Allowed values are
WSSConstants.REFERENCE_QNAME, WSSConstants.EMBEDDED_QNAME, and
WSSConstants.KEY_IDENTIFIER_QNAME.valueType - ValueType attribute used in Reference or KeyIdentifier child
element of SecurityTokenReference.token - SecurityToken to create the SecurityTokenReference from.WSSecurityExceptionjavax.xml.namespace.QName[] getQNames()
getValueTypes() to return
the ValueType URIs.java.lang.String[] getValueTypes()
getQNames.SecurityToken newSecurityToken(org.w3c.dom.Node node) throws MarshalException
node - the node the SecurityToken is created fromMarshalExceptionSecurityTokenReference newSecurityTokenReference(org.w3c.dom.Node node) throws MarshalException
MarshalExceptionKeyProvider getKeyProvider(SecurityToken token, javax.xml.rpc.handler.MessageContext ctx)
SecurityToken getSecurityToken(SecurityTokenReference str, javax.xml.rpc.handler.MessageContext ctx) throws WSSecurityException
WSSecurityExceptionSecurityTokenValidateResult validateUnmarshalled(SecurityToken token, javax.xml.rpc.handler.MessageContext ctx) throws WSSecurityException
WSSecurityExceptionSecurityTokenValidateResult validateProcessed(SecurityToken token, javax.xml.rpc.handler.MessageContext ctx)
boolean matches(SecurityToken token, java.lang.String tokenType, java.lang.String issuerName, ContextHandler ctxHandler, Purpose p)
javax.security.auth.Subject getSubject(SecurityToken token, javax.xml.rpc.handler.MessageContext msgCtx) throws WSSecurityException
WSSecurityException