Class PersistentLoginManager
java.lang.Object
io.quarkus.vertx.http.runtime.security.PersistentLoginManager
A class that manages persistent logins.
This is done by encoding an expiry time, and the current username into an encrypted cookie
TODO: make this pluggable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear(io.vertx.ext.web.RoutingContext ctx) (package private) Stringrestore(io.vertx.ext.web.RoutingContext context) voidsave(io.quarkus.security.identity.SecurityIdentity identity, io.vertx.ext.web.RoutingContext context, PersistentLoginManager.RestoreResult restoreResult, boolean secureCookie) voidsave(String value, io.vertx.ext.web.RoutingContext context, String cookieName, PersistentLoginManager.RestoreResult restoreResult, boolean secureCookie)
-
Constructor Details
-
PersistentLoginManager
-
-
Method Details
-
restore
-
restore
public PersistentLoginManager.RestoreResult restore(io.vertx.ext.web.RoutingContext context, String cookieName) -
save
public void save(io.quarkus.security.identity.SecurityIdentity identity, io.vertx.ext.web.RoutingContext context, PersistentLoginManager.RestoreResult restoreResult, boolean secureCookie) -
save
public void save(String value, io.vertx.ext.web.RoutingContext context, String cookieName, PersistentLoginManager.RestoreResult restoreResult, boolean secureCookie) -
clear
public void clear(io.vertx.ext.web.RoutingContext ctx) -
getCookieName
String getCookieName()
-