org.jboss.jca.common.metadata.ra.common
Class AuthenticationMechanism
java.lang.Object
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
AuthenticationMechanism
public AuthenticationMechanism(ArrayList<LocalizedXsdString> description,
XsdString authenticationMechanismType,
CredentialInterfaceEnum credentialInterface,
String id)
- Parameters:
description - description attribute in xmlauthenticationMechanismType - 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
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/)