Package de.xima.fc.interfaces.auth
Interface IAuthWebContext
- All Known Subinterfaces:
IFormAuthContext
- All Known Implementing Classes:
FormAuthContext
public interface IAuthWebContext
Common interface for models that cover the web context for an authentication target and allow for access to commonly
used objects in pac4j authentication flows.
- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescription@NotNull IAuthenticationTarget
@NotNull org.pac4j.core.profile.ProfileManager
@NotNull javax.servlet.http.HttpServletRequest
@NotNull javax.servlet.http.HttpServletResponse
@NotNull org.pac4j.core.context.session.SessionStore
@NotNull org.pac4j.core.context.WebContext
-
Method Details
-
getRequest
@NotNull @NotNull javax.servlet.http.HttpServletRequest getRequest()- Returns:
- the HTTP servlet request
-
getResponse
@NotNull @NotNull javax.servlet.http.HttpServletResponse getResponse()- Returns:
- the HTTP servlet response
-
getAuthenticationTarget
- Returns:
- the authentication target which describes what purpose the authentication is intended for.
-
getBaseUrl
String getBaseUrl()- Returns:
- the base URL for the authentication web request
-
getWebContext
@NotNull @NotNull org.pac4j.core.context.WebContext getWebContext()- Returns:
- the pac4j web context
-
getSessionStore
@NotNull @NotNull org.pac4j.core.context.session.SessionStore getSessionStore()- Returns:
- the pac4j session store
-
getProfileManager
@NotNull @NotNull org.pac4j.core.profile.ProfileManager getProfileManager()- Returns:
- the pac4j profile manager
-