Class AuthenticatorImpl
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.bindings.AuthenticatorType
-
- com.sun.xml.ws.security.trust.impl.elements.AuthenticatorImpl
-
- All Implemented Interfaces:
Authenticator
public class AuthenticatorImpl extends AuthenticatorType implements Authenticator
Provides verification (authentication) of a computed hash.- Author:
- Manveen Kaur
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.security.trust.impl.bindings.AuthenticatorType
any, combinedHash
-
-
Constructor Summary
Constructors Constructor Description AuthenticatorImpl()AuthenticatorImpl(byte[] hash)AuthenticatorImpl(AuthenticatorType aType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRawCombinedHash()Gets the raw value of the combinedHash property.StringgetTextCombinedHash()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.bindings.AuthenticatorType
getAny, getCombinedHash, setCombinedHash
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.ws.security.trust.elements.Authenticator
getAny
-
-
-
-
Constructor Detail
-
AuthenticatorImpl
public AuthenticatorImpl()
-
AuthenticatorImpl
public AuthenticatorImpl(AuthenticatorType aType) throws RuntimeException
- Throws:
RuntimeException
-
AuthenticatorImpl
public AuthenticatorImpl(byte[] hash)
-
-
Method Detail
-
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 final 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
public String getTextCombinedHash()
Description copied from interface:AuthenticatorGets the value of the base64 encoded combinedHash property.- Specified by:
getTextCombinedHashin interfaceAuthenticator- Returns:
String
-
setTextCombinedHash
public void setTextCombinedHash(String encodedCombinedHash)
Description copied from interface:AuthenticatorSets the value of the base 64 encoded combinedHash property.- Specified by:
setTextCombinedHashin interfaceAuthenticator- Parameters:
encodedCombinedHash-String
-
-