-
- All Known Implementing Classes:
DefaultWebXmlLoginConfig
public interface WebXmlLoginConfigImplementations of this interface can be used by a servlet container to pass the login config from web.xml to Soteria.This SPI is needed since there is no portable way for CDI extensions to read web.xml. Soteria would need this information when its CDI extension runs.
Soteria needs access to the login config from web.xml to satisfy the option allowed and detailed by Jakarta Security to use the Jakarta EE BASIC and FORM authentication mechanisms to fullfill the Servlet spec requirements for those mechanisms.
If the configuration is readily available before the CDI implementation is initialized, containers can opt to use the default implementation
DefaultWebXmlLoginConfig.- Author:
- Arjan Tijms
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAuthMethod()StringgetFormErrorPage()StringgetFormLoginPage()StringgetRealmName()voidsetAuthMethod(String authMethod)voidsetFormErrorPage(String formErrorPage)voidsetFormLoginPage(String formLoginPage)voidsetRealmName(String realmName)
-
-
-
Method Detail
-
getAuthMethod
String getAuthMethod()
-
setAuthMethod
void setAuthMethod(String authMethod)
-
getRealmName
String getRealmName()
-
setRealmName
void setRealmName(String realmName)
-
getFormLoginPage
String getFormLoginPage()
-
setFormLoginPage
void setFormLoginPage(String formLoginPage)
-
getFormErrorPage
String getFormErrorPage()
-
setFormErrorPage
void setFormErrorPage(String formErrorPage)
-
-