org.jboss.jca.common.metadata.ra.common
Class AuthenticationMechanism

java.lang.Object
  extended by org.jboss.jca.common.metadata.ra.common.AuthenticationMechanism
All Implemented Interfaces:
Serializable, JCAMetadata, IdDecoratedMetadata

public class AuthenticationMechanism
extends Object
implements IdDecoratedMetadata

Author:
Stefano Maestri
See Also:
Serialized Form

Nested Class Summary
static class AuthenticationMechanism.Attribute
          A Attribute.
static class AuthenticationMechanism.Tag
          A Tag.
 
Constructor Summary
AuthenticationMechanism(ArrayList<LocalizedXsdString> description, XsdString authenticationMechanismType, CredentialInterfaceEnum credentialInterface, String id)
           
 
Method Summary
 boolean equals(Object obj)
          
 XsdString getAuthenticationMechanismType()
           
 CredentialInterfaceEnum getCredentialInterface()
           
 List<LocalizedXsdString> getDescription()
           
 String getId()
          Return the String representing xml ID
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationMechanism

public AuthenticationMechanism(ArrayList<LocalizedXsdString> description,
                               XsdString authenticationMechanismType,
                               CredentialInterfaceEnum credentialInterface,
                               String id)
Parameters:
description - description attribute in xml
authenticationMechanismType - specifies type of an authentication mechanism. The example values are: BasicPassword Kerbv5 Any additional security mechanisms are outside the scope of the Connector architecture specification.
credentialInterface - enumeration representing credentialInterface.
id - xml ID
Method Detail

getDescription

public List<LocalizedXsdString> getDescription()
Returns:
description

getAuthenticationMechanismType

public XsdString getAuthenticationMechanismType()
Returns:
authenticationMechanismType

getCredentialInterface

public CredentialInterfaceEnum getCredentialInterface()
Returns:
credentialInterface

getId

public String getId()
Return the String representing xml ID

Specified by:
getId in interface IdDecoratedMetadata
Returns:
the XML ID
See Also:
IdDecoratedMetadata.getId()

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)