com.sun.xml.ws.security.trust.impl.wssx.elements
Class AuthenticatorImpl

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.wssx.bindings.AuthenticatorType
      extended by com.sun.xml.ws.security.trust.impl.wssx.elements.AuthenticatorImpl
All Implemented Interfaces:
Authenticator

public class AuthenticatorImpl
extends com.sun.xml.ws.security.trust.impl.wssx.bindings.AuthenticatorType
implements Authenticator

Provides verification (authentication) of a computed hash.


Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.AuthenticatorType
any, combinedHash
 
Constructor Summary
AuthenticatorImpl()
           
AuthenticatorImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.AuthenticatorType aType)
           
AuthenticatorImpl(byte[] hash)
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 byte[] getRawCombinedHash()
          Gets the raw value of the combinedHash property.
 java.lang.String getTextCombinedHash()
          Gets the value of the base64 encoded combinedHash property.
 void setRawCombinedHash(byte[] rawCombinedHash)
          Sets the value of the combinedHash property.
 void setTextCombinedHash(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorImpl

public AuthenticatorImpl()

AuthenticatorImpl

public AuthenticatorImpl(com.sun.xml.ws.security.trust.impl.wssx.bindings.AuthenticatorType aType)
                  throws java.lang.Exception
Throws:
java.lang.Exception

AuthenticatorImpl

public AuthenticatorImpl(byte[] hash)
Method Detail

getAny

public java.util.List<java.lang.Object> getAny()
Description copied from interface: Authenticator
Gets 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 set method 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 Element Object

Specified by:
getAny in interface Authenticator
Overrides:
getAny in class com.sun.xml.ws.security.trust.impl.wssx.bindings.AuthenticatorType

getRawCombinedHash

public byte[] getRawCombinedHash()
Description copied from interface: Authenticator
Gets the raw value of the combinedHash property.

Specified by:
getRawCombinedHash in interface Authenticator
Returns:
byte[]

setRawCombinedHash

public void setRawCombinedHash(byte[] rawCombinedHash)
Description copied from interface: Authenticator
Sets the value of the combinedHash property.

Specified by:
setRawCombinedHash in interface Authenticator
Parameters:
rawCombinedHash - byte[]

getTextCombinedHash

public java.lang.String getTextCombinedHash()
Description copied from interface: Authenticator
Gets the value of the base64 encoded combinedHash property.

Specified by:
getTextCombinedHash in interface Authenticator
Returns:
String

setTextCombinedHash

public void setTextCombinedHash(java.lang.String encodedCombinedHash)
Description copied from interface: Authenticator
Sets the value of the base 64 encoded combinedHash property.

Specified by:
setTextCombinedHash in interface Authenticator
Parameters:
encodedCombinedHash - String