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 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.wssx.bindings.AuthenticatorType
any, combinedHash
 
Constructor Summary
AuthenticatorImpl()
           
AuthenticatorImpl(AuthenticatorType aType)
           
AuthenticatorImpl(byte[] hash)
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 byte[] getRawCombinedHash()
           
 String getTextCombinedHash()
           
 void setRawCombinedHash(byte[] rawCombinedHash)
           
 void setTextCombinedHash(String encodedCombinedHash)
           
 
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(AuthenticatorType aType)
                  throws Exception
Throws:
Exception

AuthenticatorImpl

public AuthenticatorImpl(byte[] hash)
Method Detail

getAny

public List<Object> getAny()
Description copied from class: AuthenticatorType
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 Object Element

Specified by:
getAny in interface Authenticator
Overrides:
getAny in class AuthenticatorType

getRawCombinedHash

public byte[] getRawCombinedHash()
Specified by:
getRawCombinedHash in interface Authenticator

setRawCombinedHash

public void setRawCombinedHash(byte[] rawCombinedHash)
Specified by:
setRawCombinedHash in interface Authenticator

getTextCombinedHash

public String getTextCombinedHash()
Specified by:
getTextCombinedHash in interface Authenticator

setTextCombinedHash

public void setTextCombinedHash(String encodedCombinedHash)
Specified by:
setTextCombinedHash in interface Authenticator


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.