-
- All Implemented Interfaces:
-
ai.tock.shared.security.auth.TockAuthProvider,io.vertx.ext.auth.authentication.AuthenticationProvider
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 StringgetSessionCookieName()final VertxgetVertx()abstract AuthenticationHandlercreateAuthHandler(WebVerticle verticle)AuthenticationHandlerprotectPaths(WebVerticle verticle, Set<String> pathsToProtect, SessionHandler sessionHandler)Protect paths for the specified verticle. -
Methods inherited from class ai.tock.shared.security.auth.TockAuthProvider
defaultExcludedPaths, excludedPaths, toTockUser -
Methods inherited from class io.vertx.ext.auth.authentication.AuthenticationProvider
authenticate, authenticate, authenticate, authenticate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSessionCookieName
String getSessionCookieName()
-
getVertx
final Vertx getVertx()
-
createAuthHandler
abstract AuthenticationHandler createAuthHandler(WebVerticle verticle)
-
protectPaths
AuthenticationHandler protectPaths(WebVerticle verticle, Set<String> pathsToProtect, SessionHandler sessionHandler)
Protect paths for the specified verticle.
-
-
-
-