-
- All Implemented Interfaces:
-
ai.tock.shared.security.auth.TockAuthProvider,io.vertx.ext.auth.AuthProvider
public abstract class SSOTockAuthProvider implements TockAuthProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSSOTockAuthProvider.AddSSOCookieHandler
-
Field Summary
Fields Modifier and Type Field Description private final StringsessionCookieNameprivate final Vertxvertx
-
Constructor Summary
Constructors Constructor Description SSOTockAuthProvider(Vertx vertx)
-
Method Summary
Modifier and Type Method Description abstract AuthHandlercreateAuthHandler(WebVerticle verticle)AuthHandlerprotectPaths(WebVerticle verticle, Set<String> pathsToProtect, SessionHandler sessionHandler)Protect paths for the specified verticle. StringgetSessionCookieName()final VertxgetVertx()-
Methods inherited from class ai.tock.shared.security.auth.SSOTockAuthProvider
excludedPaths, toTockUser -
Methods inherited from class io.vertx.ext.auth.AuthProvider
equals, hashCode, toString -
Methods inherited from class ai.tock.shared.security.auth.TockAuthProvider
authenticate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
createAuthHandler
abstract AuthHandler createAuthHandler(WebVerticle verticle)
-
protectPaths
AuthHandler protectPaths(WebVerticle verticle, Set<String> pathsToProtect, SessionHandler sessionHandler)
Protect paths for the specified verticle.
-
getSessionCookieName
String getSessionCookieName()
-
getVertx
final Vertx getVertx()
-
-
-
-