Class VertxAuthHandler
- java.lang.Object
-
- io.mosip.kernel.auth.defaultadapter.handler.VertxAuthHandler
-
- All Implemented Interfaces:
io.mosip.kernel.core.authmanager.authadapter.spi.VertxAuthenticationProvider
@Lazy @Component public class VertxAuthHandler extends Object implements io.mosip.kernel.core.authmanager.authadapter.spi.VertxAuthenticationProvider
-
-
Constructor Summary
Constructors Constructor Description VertxAuthHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthFilter(io.vertx.ext.web.Router router, String path, io.vertx.core.http.HttpMethod httpMethod, String commaSepratedRoles)voidaddCorsFilter(io.vertx.core.http.HttpServer httpServer, io.vertx.core.Vertx vertx)StringgetContextUser(io.vertx.ext.web.RoutingContext routingContext)
-
-
-
Method Detail
-
addCorsFilter
@Generated public void addCorsFilter(io.vertx.core.http.HttpServer httpServer, io.vertx.core.Vertx vertx)
- Specified by:
addCorsFilterin interfaceio.mosip.kernel.core.authmanager.authadapter.spi.VertxAuthenticationProvider
-
addAuthFilter
@Generated public void addAuthFilter(io.vertx.ext.web.Router router, String path, io.vertx.core.http.HttpMethod httpMethod, String commaSepratedRoles)
- Specified by:
addAuthFilterin interfaceio.mosip.kernel.core.authmanager.authadapter.spi.VertxAuthenticationProvider
-
getContextUser
public String getContextUser(io.vertx.ext.web.RoutingContext routingContext)
- Specified by:
getContextUserin interfaceio.mosip.kernel.core.authmanager.authadapter.spi.VertxAuthenticationProvider
-
-