com.sun.enterprise.deployment
Class LoginConfigurationImpl

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.LoginConfigurationImpl
All Implemented Interfaces:
LoginConfiguration, java.io.Serializable

public class LoginConfigurationImpl
extends Descriptor
implements LoginConfiguration

I dictate how the web app I belong to should be logged into.

Author:
Danny Coward
See Also:
Serialized Form

Field Summary
static java.lang.String AUTHENTICATION_METHOD_BASIC
          teh client authenticates using http basic authentication.
static java.lang.String AUTHENTICATION_METHOD_CLIENT_CERTIFICATE
          The client sends a certificate.
static java.lang.String AUTHENTICATION_METHOD_DIGEST
          Digest authentication.
static java.lang.String AUTHENTICATION_METHOD_FORM
          FOrm authentication.
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Fields inherited from interface com.sun.enterprise.deployment.web.LoginConfiguration
BASIC_AUTHENTICATION, CLIENT_CERTIFICATION_AUTHENTICATION, DIGEST_AUTHENTICATION, FORM_AUTHENTICATION
 
Constructor Summary
LoginConfigurationImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAuthenticationMethod()
          Return my authentication method.
 java.lang.String getFormErrorPage()
          Get the name of the error page for form login.
 java.lang.String getFormLoginPage()
          Get the name of the login page for form login.
 java.lang.String getRealmName()
          Obtain the realm the server should use for basic authentication.
 int hashCode()
           
 void print(java.lang.StringBuffer toStringBuffer)
          My representation as a formatted String.
 void setAuthenticationMethod(java.lang.String authenticationMethod)
          Sets my authentication method.
 void setFormErrorPage(java.lang.String formErrorPage)
          Set the name of the error page for form login.
 void setFormLoginPage(java.lang.String formLoginPage)
          Set the name of the login page for form login.
 void setRealmName(java.lang.String realmName)
          Set the realm the server should use for basic authentication.
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTHENTICATION_METHOD_BASIC

public static final java.lang.String AUTHENTICATION_METHOD_BASIC
teh client authenticates using http basic authentication.

See Also:
Constant Field Values

AUTHENTICATION_METHOD_DIGEST

public static final java.lang.String AUTHENTICATION_METHOD_DIGEST
Digest authentication.

See Also:
Constant Field Values

AUTHENTICATION_METHOD_FORM

public static final java.lang.String AUTHENTICATION_METHOD_FORM
FOrm authentication.

See Also:
Constant Field Values

AUTHENTICATION_METHOD_CLIENT_CERTIFICATE

public static final java.lang.String AUTHENTICATION_METHOD_CLIENT_CERTIFICATE
The client sends a certificate.

See Also:
Constant Field Values
Constructor Detail

LoginConfigurationImpl

public LoginConfigurationImpl()
Method Detail

getAuthenticationMethod

public java.lang.String getAuthenticationMethod()
Return my authentication method.

Specified by:
getAuthenticationMethod in interface LoginConfiguration

setAuthenticationMethod

public void setAuthenticationMethod(java.lang.String authenticationMethod)
Sets my authentication method.

Specified by:
setAuthenticationMethod in interface LoginConfiguration

getRealmName

public java.lang.String getRealmName()
Obtain the realm the server should use for basic authentication.

Specified by:
getRealmName in interface LoginConfiguration

setRealmName

public void setRealmName(java.lang.String realmName)
Set the realm the server should use for basic authentication.

Specified by:
setRealmName in interface LoginConfiguration

getFormLoginPage

public java.lang.String getFormLoginPage()
Get the name of the login page for form login.

Specified by:
getFormLoginPage in interface LoginConfiguration

setFormLoginPage

public void setFormLoginPage(java.lang.String formLoginPage)
Set the name of the login page for form login.

Specified by:
setFormLoginPage in interface LoginConfiguration

getFormErrorPage

public java.lang.String getFormErrorPage()
Get the name of the error page for form login.

Specified by:
getFormErrorPage in interface LoginConfiguration

setFormErrorPage

public void setFormErrorPage(java.lang.String formErrorPage)
Set the name of the error page for form login.

Specified by:
setFormErrorPage in interface LoginConfiguration

print

public void print(java.lang.StringBuffer toStringBuffer)
My representation as a formatted String.

Overrides:
print in class Descriptor

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.