Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addResponseCookie(Cookie) - Method in class ratpack.pac4j.internal.RatpackWebContext
- authenticator(String, Client...) - Static method in class ratpack.pac4j.RatpackPac4j
-
Creates a handler that implements authentication when the request path matches, and makes a Pac4j
Clients
available to downstream handlers otherwise. - authenticator(String, RatpackPac4j.ClientsProvider) - Static method in class ratpack.pac4j.RatpackPac4j
-
Creates a handler that implements authentication when the request path matches, and makes a Pac4j
Clients
available to downstream handlers otherwise. - authenticator(Client...) - Static method in class ratpack.pac4j.RatpackPac4j
B
- buildFromTrackableSession(WebContext, Object) - Method in class ratpack.pac4j.internal.RatpackSessionStore
C
- callContext() - Method in class ratpack.pac4j.internal.RatpackWebContext
D
- DEFAULT_AUTHENTICATOR_PATH - Static variable in class ratpack.pac4j.RatpackPac4j
-
The default path to the authenticator, "authenticator", used by
RatpackPac4j.authenticator(Client[])
. - destroySession(WebContext) - Method in class ratpack.pac4j.internal.RatpackSessionStore
F
- from(Context, boolean) - Static method in class ratpack.pac4j.internal.RatpackWebContext
G
- get(WebContext, String) - Method in class ratpack.pac4j.internal.RatpackSessionStore
- get(Context) - Method in interface ratpack.pac4j.RatpackPac4j.ClientsProvider
- getContext() - Method in class ratpack.pac4j.internal.RatpackWebContext
-
Get the ratpack context.
- getFullRequestURL() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getPath() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getProfileManager() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getProtocol() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getRemoteAddr() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getRequestAttribute(String) - Method in class ratpack.pac4j.internal.RatpackWebContext
- getRequestContent() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getRequestCookies() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getRequestHeader(String) - Method in class ratpack.pac4j.internal.RatpackWebContext
- getRequestMethod() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getRequestParameter(String) - Method in class ratpack.pac4j.internal.RatpackWebContext
- getRequestParameters() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getRequestURL() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getResponseHeader(String) - Method in class ratpack.pac4j.internal.RatpackWebContext
- getScheme() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getServerName() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getServerPort() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getSessionData() - Method in class ratpack.pac4j.internal.RatpackSessionStore
- getSessionId(WebContext, boolean) - Method in class ratpack.pac4j.internal.RatpackSessionStore
- getSessionStore() - Method in class ratpack.pac4j.internal.RatpackWebContext
- getTrackableSession(WebContext) - Method in class ratpack.pac4j.internal.RatpackSessionStore
H
- handle(Context) - Method in class ratpack.pac4j.internal.Pac4jAuthenticator
I
- isSecure() - Method in class ratpack.pac4j.internal.RatpackWebContext
L
- login(Context, String) - Static method in class ratpack.pac4j.RatpackPac4j
-
Logs the user in by redirecting to the authenticator, or provides the user profile if already logged in.
- logout(Context) - Static method in class ratpack.pac4j.RatpackPac4j
-
Logs out the current user, removing their profile from the session.
P
- Pac4jAuthenticator - Class in ratpack.pac4j.internal
- Pac4jAuthenticator(String, RatpackPac4j.ClientsProvider) - Constructor for class ratpack.pac4j.internal.Pac4jAuthenticator
- Pac4jSessionKeys - Class in ratpack.pac4j.internal
R
- ratpack.pac4j - package ratpack.pac4j
-
Integration with pac4j for authentication/authorization.
- ratpack.pac4j.internal - package ratpack.pac4j.internal
- RatpackPac4j - Class in ratpack.pac4j
-
Provides integration with the Pac4j library for authentication and authorization.
- RatpackPac4j.ClientsProvider - Interface in ratpack.pac4j
-
Provides the set of Pac4j
clients
. - RatpackSessionStore - Class in ratpack.pac4j.internal
-
Specific session store for Ratpack.
- RatpackSessionStore(SessionData) - Constructor for class ratpack.pac4j.internal.RatpackSessionStore
- RatpackWebContext - Class in ratpack.pac4j.internal
- RatpackWebContext(Context, TypedData, SessionData) - Constructor for class ratpack.pac4j.internal.RatpackWebContext
- renewSession(WebContext) - Method in class ratpack.pac4j.internal.RatpackSessionStore
- REQUESTED_URL - Static variable in class ratpack.pac4j.internal.Pac4jSessionKeys
- requireAuth(String, Consumer<Context>, Authorizer...) - Static method in class ratpack.pac4j.RatpackPac4j
-
An authentication and authorization “filter”.
- requireAuth(String, Authorizer...) - Static method in class ratpack.pac4j.RatpackPac4j
-
An authentication and authorization “filter”.
S
- sendResponse(HttpAction) - Method in class ratpack.pac4j.internal.RatpackWebContext
- sendStatusCode(HttpAction) - Method in class ratpack.pac4j.internal.RatpackWebContext
- set(WebContext, String, Object) - Method in class ratpack.pac4j.internal.RatpackSessionStore
- setRequestAttribute(String, Object) - Method in class ratpack.pac4j.internal.RatpackWebContext
- setResponseContentType(String) - Method in class ratpack.pac4j.internal.RatpackWebContext
- setResponseHeader(String, String) - Method in class ratpack.pac4j.internal.RatpackWebContext
U
- userProfile(Context) - Static method in class ratpack.pac4j.RatpackPac4j
-
Obtains the logged in user's profile, if the user is logged in.
- userProfile(Context, Class<T>) - Static method in class ratpack.pac4j.RatpackPac4j
-
Obtains the logged in user's profile, of the given type, if the user is logged in.
W
- webContext(Context) - Static method in class ratpack.pac4j.RatpackPac4j
-
Adapts a Ratpack
Context
to a Pac4jWebContext
.
All Classes and Interfaces|All Packages|Constant Field Values