security
library
Classes
-
AccessControl<User>
-
The access control.
-
Authenticator<User>
-
The authenticator.
-
Redirector
-
The redirector to provide URI for different situations.
-
RememberMe<User>
-
The remember-me plug-in.
-
RememberUri
-
The remember-me plug-in. It is used to redirect the user back to
the protected resource after logging in.
-
Security<User>
-
The security module.
Functions
-
currentUser<User>(HttpSession session)
→ User?
-
Returns the current user, or null if not authenticated.
It is the same object returned by Authenticator's
authenticate
.