|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.AuthMechanism
public class AuthMechanism
This class encapsulates the xml tags: description, auth-mech-type and credential-interface in the connector specification.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.Descriptor |
|---|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED |
| Constructor Summary | |
|---|---|
AuthMechanism()
Default constructor. |
|
AuthMechanism(java.lang.String description,
int authMechVal,
java.lang.String credInterface)
Initializes the data members. |
|
| Method Summary | |
|---|---|
static int |
getAuthMechInt(java.lang.String value)
|
java.lang.String |
getAuthMechType()
Get the auth-mech-type |
int |
getAuthMechVal()
Get the authentication mechanism value. |
java.lang.String |
getCredentialInterface()
Get the credential interface. |
java.lang.String |
getDescription()
Get the description |
void |
setAuthMechVal(int value)
Set the authentication mechanism value. |
void |
setAuthMechVal(java.lang.String value)
Set the authentication mechanism value. |
void |
setCredentialInterface(java.lang.String cred)
Set the credential interface. |
void |
setDescription(java.lang.String description)
Sets the description |
| Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor |
|---|
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthMechanism()
public AuthMechanism(java.lang.String description,
int authMechVal,
java.lang.String credInterface)
description - descriptionauthMechVal - authentication mechanism type.credInterface - credential interface type.| Method Detail |
|---|
public void setCredentialInterface(java.lang.String cred)
cred - the interface.public java.lang.String getCredentialInterface()
public java.lang.String getDescription()
getDescription in class Descriptorpublic void setDescription(java.lang.String description)
setDescription in class Descriptordescription. - public java.lang.String getAuthMechType()
public static int getAuthMechInt(java.lang.String value)
public int getAuthMechVal()
public void setAuthMechVal(int value)
public void setAuthMechVal(java.lang.String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||