Class DefaultSecurityService

java.lang.Object
io.micronaut.security.utils.DefaultSecurityService
All Implemented Interfaces:
SecurityService

@Requires(classes=io.micronaut.http.context.ServerRequestContext.class) @Singleton public class DefaultSecurityService extends Object implements SecurityService
Default implementation of SecurityService. It uses ServerRequestContext.currentRequest() to retrieve the Authentication object if any.
Since:
1.0
Author:
Sergio del Amo
  • Constructor Details

    • DefaultSecurityService

      public DefaultSecurityService(RolesFinder rolesFinder)
      Parameters:
      rolesFinder - Roles Parser
  • Method Details