public class LoginConfigurationImpl extends Descriptor implements LoginConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
AUTHENTICATION_METHOD_BASIC
teh client authenticates using http basic authentication.
|
static String |
AUTHENTICATION_METHOD_CLIENT_CERTIFICATE
The client sends a certificate.
|
static String |
AUTHENTICATION_METHOD_DIGEST
Digest authentication.
|
static String |
AUTHENTICATION_METHOD_FORM
FOrm authentication.
|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
BASIC_AUTHENTICATION, CLIENT_CERTIFICATION_AUTHENTICATION, DIGEST_AUTHENTICATION, FORM_AUTHENTICATION
Constructor and Description |
---|
LoginConfigurationImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAuthenticationMethod()
Return my authentication method.
|
String |
getFormErrorPage()
Get the name of the error page for form login.
|
String |
getFormLoginPage()
Get the name of the login page for form login.
|
String |
getRealmName()
Obtain the realm the server should use for basic authentication.
|
int |
hashCode() |
void |
print(StringBuilder toStringBuilder)
My representation as a formatted String.
|
void |
setAuthenticationMethod(String authenticationMethod)
Sets my authentication method.
|
void |
setFormErrorPage(String formErrorPage)
Set the name of the error page for form login.
|
void |
setFormLoginPage(String formLoginPage)
Set the name of the login page for form login.
|
void |
setRealmName(String realmName)
Set the realm the server should use for basic authentication.
|
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, 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
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public static final String AUTHENTICATION_METHOD_BASIC
public static final String AUTHENTICATION_METHOD_DIGEST
public static final String AUTHENTICATION_METHOD_FORM
public static final String AUTHENTICATION_METHOD_CLIENT_CERTIFICATE
public String getAuthenticationMethod()
getAuthenticationMethod
in interface LoginConfiguration
public void setAuthenticationMethod(String authenticationMethod)
setAuthenticationMethod
in interface LoginConfiguration
public String getRealmName()
getRealmName
in interface LoginConfiguration
public void setRealmName(String realmName)
setRealmName
in interface LoginConfiguration
public String getFormLoginPage()
getFormLoginPage
in interface LoginConfiguration
public void setFormLoginPage(String formLoginPage)
setFormLoginPage
in interface LoginConfiguration
public String getFormErrorPage()
getFormErrorPage
in interface LoginConfiguration
public void setFormErrorPage(String formErrorPage)
setFormErrorPage
in interface LoginConfiguration
public void print(StringBuilder toStringBuilder)
print
in class Descriptor
Copyright © 2020. All rights reserved.