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

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

public class AuthenticationMechanismImpl
extends Object
implements org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism

Author:
Stefano Maestri
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism
org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism.Attribute, org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism.Tag
 
Constructor Summary
AuthenticationMechanismImpl(List<org.jboss.jca.common.api.metadata.ra.LocalizedXsdString> description, org.jboss.jca.common.api.metadata.ra.XsdString authenticationMechanismType, org.jboss.jca.common.api.metadata.ra.CredentialInterfaceEnum credentialInterface, String id)
           
AuthenticationMechanismImpl(List<org.jboss.jca.common.api.metadata.ra.LocalizedXsdString> description, org.jboss.jca.common.api.metadata.ra.XsdString authenticationMechanismType, org.jboss.jca.common.api.metadata.ra.CredentialInterfaceEnum credentialInterface, String id, String cid)
           
 
Method Summary
 org.jboss.jca.common.api.metadata.CopyableMetaData copy()
           
 boolean equals(Object obj)
          
 org.jboss.jca.common.api.metadata.ra.XsdString getAuthenticationMechanismType()
           
 org.jboss.jca.common.api.metadata.ra.CredentialInterfaceEnum getCredentialInterface()
           
 List<org.jboss.jca.common.api.metadata.ra.LocalizedXsdString> getDescriptions()
           
 String getId()
           
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationMechanismImpl

public AuthenticationMechanismImpl(List<org.jboss.jca.common.api.metadata.ra.LocalizedXsdString> description,
                                   org.jboss.jca.common.api.metadata.ra.XsdString authenticationMechanismType,
                                   org.jboss.jca.common.api.metadata.ra.CredentialInterfaceEnum credentialInterface,
                                   String id,
                                   String cid)
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
cid - credential interface id

AuthenticationMechanismImpl

public AuthenticationMechanismImpl(List<org.jboss.jca.common.api.metadata.ra.LocalizedXsdString> description,
                                   org.jboss.jca.common.api.metadata.ra.XsdString authenticationMechanismType,
                                   org.jboss.jca.common.api.metadata.ra.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

getDescriptions

public List<org.jboss.jca.common.api.metadata.ra.LocalizedXsdString> getDescriptions()
Specified by:
getDescriptions in interface org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism
Returns:
description

getAuthenticationMechanismType

public org.jboss.jca.common.api.metadata.ra.XsdString getAuthenticationMechanismType()
Specified by:
getAuthenticationMechanismType in interface org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism
Returns:
authenticationMechanismType

getCredentialInterface

public org.jboss.jca.common.api.metadata.ra.CredentialInterfaceEnum getCredentialInterface()
Specified by:
getCredentialInterface in interface org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism
Returns:
credentialInterface

getId

public String getId()
Specified by:
getId in interface org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism
Specified by:
getId in interface org.jboss.jca.common.api.metadata.ra.IdDecoratedMetadata

hashCode

public int hashCode()

Specified by:
hashCode in interface org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Specified by:
equals in interface org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Specified by:
toString in interface org.jboss.jca.common.api.metadata.ra.AuthenticationMechanism
Overrides:
toString in class Object
See Also:
Object.toString()

copy

public org.jboss.jca.common.api.metadata.CopyableMetaData copy()
Specified by:
copy in interface org.jboss.jca.common.api.metadata.CopyableMetaData


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)