Package org.apache.wss4j.dom.engine
Class WSSecurityEngineResult
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTag denoting the cryptographic operation performed The value under this tag is of type java.lang.Integerstatic final StringTag denoting the BinarySecurityToken found, if applicable.static final StringTag denoting the algorithm that was used to do canonicalization The value under this tag is of type String.static final StringTag denoting references to a List of Data ref URIs.static final StringTag denoting a delegation credential found, if applicable.static final StringTag denoting a DerivedKeyToken objectstatic final StringTag denoting the encrypted key bytes The value under this tag is a byte arraystatic final StringTag denoting the encrypted key transport algorithm.static final StringThe (wsu) Id of the token corresponding to this result.static final StringTag denoting the security principal found, if applicable.static final StringTag denoting a PublicKey associated with this tokenstatic final StringTag denoting the SAML Assertion found, if applicable.static final StringTag denoting a byte[] secret associated with this tokenstatic final StringTag denoting references to the DOM elements that have been cryptographically protected.static final StringTag denoting the signature confirmation of a signed element, if applicable.static final StringTag denoting the algorithm that was used to sign the message The value under this tag is of type String.static final StringTag denoting the signature value of a signed element, if applicable.static final StringTag denoting the security subject found, if applicable.static final StringTag denoting the timestamp found, if applicable.static final StringTag denoting the DOM Element of the processed token (if a token has been processed).static final StringTag denoting a Transformed Token.static final StringTag denoting a UsernameToken objectstatic final StringTag denoting that the TAG_*_TOKEN result has been validated by a Validator implementation.static final StringTag denoting the X.509 certificate found, if applicable.static final StringTag denoting the X.509 certificate chain found, if applicable.static final StringTag denoting how the X.509 certificate (chain) was referenced, if applicable. -
Constructor Summary
ConstructorsConstructorDescriptionWSSecurityEngineResult(int act) WSSecurityEngineResult(int act, byte[] decryptedKey, byte[] encryptedKeyBytes, List<WSDataRef> dataRefUris) WSSecurityEngineResult(int act, byte[] decryptedKey, byte[] encryptedKeyBytes, List<WSDataRef> dataRefUris, X509Certificate[] certs) WSSecurityEngineResult(int act, Principal princ, X509Certificate[] certs, byte[] sv) WSSecurityEngineResult(int act, Principal princ, X509Certificate[] certs, List<WSDataRef> dataRefs, byte[] sv) WSSecurityEngineResult(int act, List<WSDataRef> dataRefUris) WSSecurityEngineResult(int act, SamlAssertionWrapper ass) WSSecurityEngineResult(int act, BinarySecurity token, X509Certificate[] certs) WSSecurityEngineResult(int act, SecurityContextToken sct) WSSecurityEngineResult(int act, SignatureConfirmation sc) WSSecurityEngineResult(int act, Timestamp tstamp) WSSecurityEngineResult(int act, UsernameToken usernameToken) WSSecurityEngineResult(int act, UsernameToken usernameToken, Principal principal) -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
TAG_SAML_ASSERTION
Tag denoting the SAML Assertion found, if applicable. The value under this tag is of type SamlAssertionWrapper.- See Also:
-
TAG_TIMESTAMP
Tag denoting the timestamp found, if applicable. The value under this tag is of type org.apache.wss4j.dom.message.token.Timestamp.- See Also:
-
TAG_SECURITY_CONTEXT_TOKEN
Tag denoting references to the DOM elements that have been cryptographically protected. The value under this tag is of type SecurityContextToken.- See Also:
-
TAG_USERNAME_TOKEN
Tag denoting a UsernameToken object- See Also:
-
TAG_DERIVED_KEY_TOKEN
Tag denoting a DerivedKeyToken object- See Also:
-
TAG_SIGNATURE_CONFIRMATION
Tag denoting the signature confirmation of a signed element, if applicable. The value under this tag is of type org.apache.wss4j.dom.message.token.SignatureConfirmation.- See Also:
-
TAG_BINARY_SECURITY_TOKEN
Tag denoting the BinarySecurityToken found, if applicable. The value under this tag is of type BinarySecurity.- See Also:
-
TAG_TRANSFORMED_TOKEN
Tag denoting a Transformed Token. For certain tokens, the Validator may return an SamlAssertionWrapper instance which corresponds to a transformed version of the initial token. For example, a Username Token credential might be validated by an STS and transformed into a SAML Assertion. This tag then holds the transformed SamlAssertionWrapper instance, as a component of the Result corresponding to the Username Token. The value under this tag is of type SamlAssertionWrapper.- See Also:
-
TAG_VALIDATED_TOKEN
Tag denoting that the TAG_*_TOKEN result has been validated by a Validator implementation. Some of the processors do not have a default validator implementation, and so this is not set. Note that this is set for the NoOpValidator if it is configured. The value under this tag is a Boolean instance.- See Also:
-
TAG_TOKEN_ELEMENT
Tag denoting the DOM Element of the processed token (if a token has been processed). The value under this tag is of type org.w3c.dom.Element- See Also:
-
TAG_X509_CERTIFICATE
Tag denoting the X.509 certificate found, if applicable. The value under this tag is of type java.security.cert.X509Certificate.- See Also:
-
TAG_SIGNATURE_VALUE
Tag denoting the signature value of a signed element, if applicable. The value under this tag is of type byte[].- See Also:
-
TAG_X509_CERTIFICATES
Tag denoting the X.509 certificate chain found, if applicable. The value under this tag is of type java.security.cert.X509Certificate[].- See Also:
-
TAG_X509_REFERENCE_TYPE
Tag denoting how the X.509 certificate (chain) was referenced, if applicable. The value under this tag is of type STRParser.REFERENCE_TYPE.- See Also:
-
TAG_ENCRYPTED_EPHEMERAL_KEY
Tag denoting the encrypted key bytes The value under this tag is a byte array- See Also:
-
TAG_SECRET
Tag denoting a byte[] secret associated with this token- See Also:
-
TAG_PUBLIC_KEY
Tag denoting a PublicKey associated with this token- See Also:
-
TAG_ACTION
Tag denoting the cryptographic operation performed The value under this tag is of type java.lang.Integer- See Also:
-
TAG_PRINCIPAL
Tag denoting the security principal found, if applicable. The value under this tag is of type java.security.Principal.- See Also:
-
TAG_SUBJECT
Tag denoting the security subject found, if applicable. The value under this tag is of type javax.security.auth.Subject.- See Also:
-
TAG_DATA_REF_URIS
Tag denoting references to a List of Data ref URIs. The value under this tag is of type List.- See Also:
-
TAG_ENCRYPTED_KEY_TRANSPORT_METHOD
Tag denoting the encrypted key transport algorithm. The value under this tag is of type String.- See Also:
-
TAG_SIGNATURE_METHOD
Tag denoting the algorithm that was used to sign the message The value under this tag is of type String.- See Also:
-
TAG_CANONICALIZATION_METHOD
Tag denoting the algorithm that was used to do canonicalization The value under this tag is of type String.- See Also:
-
TAG_DELEGATION_CREDENTIAL
Tag denoting a delegation credential found, if applicable. For Kerberos (if delegation is enabled), the value under this tag is of type GSSCredential- See Also:
-
TAG_ID
The (wsu) Id of the token corresponding to this result.- See Also:
-
-
Constructor Details
-
WSSecurityEngineResult
public WSSecurityEngineResult(int act) -
WSSecurityEngineResult
-
WSSecurityEngineResult
-
WSSecurityEngineResult
public WSSecurityEngineResult(int act, Principal princ, X509Certificate[] certs, List<WSDataRef> dataRefs, byte[] sv) -
WSSecurityEngineResult
-
WSSecurityEngineResult
public WSSecurityEngineResult(int act, byte[] decryptedKey, byte[] encryptedKeyBytes, List<WSDataRef> dataRefUris, X509Certificate[] certs) -
WSSecurityEngineResult
-
WSSecurityEngineResult
-
WSSecurityEngineResult
-
WSSecurityEngineResult
-
WSSecurityEngineResult
-
WSSecurityEngineResult
-
WSSecurityEngineResult
-