Class AuthenticatorImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.wssx.bindings.AuthenticatorType
com.sun.xml.ws.security.trust.impl.wssx.elements.AuthenticatorImpl
- All Implemented Interfaces:
Authenticator
Provides verification (authentication) of a computed hash.
- Author:
- Manveen Kaur
-
Field Summary
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.AuthenticatorType
any, combinedHash -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAny()Gets the value of the any property.byte[]Gets the raw value of the combinedHash property.Gets the value of the base64 encoded combinedHash property.voidsetRawCombinedHash(byte[] rawCombinedHash) Sets the value of the combinedHash property.voidsetTextCombinedHash(String encodedCombinedHash) Sets the value of the base 64 encoded combinedHash property.Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.AuthenticatorType
getCombinedHash, setCombinedHash
-
Constructor Details
-
AuthenticatorImpl
public AuthenticatorImpl() -
AuthenticatorImpl
- Throws:
Exception
-
AuthenticatorImpl
public AuthenticatorImpl(byte[] hash)
-
-
Method Details
-
getAny
Description copied from class:AuthenticatorTypeGets the value of the any property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the any property.For example, to add a new item, do as follows:
getAny().add(newItem);Objects of the following type(s) are allowed in the list
ObjectElement- Specified by:
getAnyin interfaceAuthenticator- Overrides:
getAnyin classAuthenticatorType
-
getRawCombinedHash
public byte[] getRawCombinedHash()Description copied from interface:AuthenticatorGets the raw value of the combinedHash property.- Specified by:
getRawCombinedHashin interfaceAuthenticator- Returns:
- possible object is byte[]
-
setRawCombinedHash
public void setRawCombinedHash(byte[] rawCombinedHash) Description copied from interface:AuthenticatorSets the value of the combinedHash property.- Specified by:
setRawCombinedHashin interfaceAuthenticator- Parameters:
rawCombinedHash- allowed object is byte[]
-
getTextCombinedHash
Description copied from interface:AuthenticatorGets the value of the base64 encoded combinedHash property.- Specified by:
getTextCombinedHashin interfaceAuthenticator- Returns:
String
-
setTextCombinedHash
Description copied from interface:AuthenticatorSets the value of the base 64 encoded combinedHash property.- Specified by:
setTextCombinedHashin interfaceAuthenticator- Parameters:
encodedCombinedHash-String
-