Class DefaultContextAuthenticationMapper

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AuthenticationResponse map​(io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object> attributes, java.lang.String username, java.util.Set<java.lang.String> groups)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultContextAuthenticationMapper

        public DefaultContextAuthenticationMapper()
    • Method Detail

      • map

        public AuthenticationResponse map​(io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object> attributes,
                                          java.lang.String username,
                                          java.util.Set<java.lang.String> groups)
        Specified by:
        map in interface ContextAuthenticationMapper
        Parameters:
        attributes - The attributes in the context
        username - The username used to authenticate
        groups - The roles associated with the user
        Returns:
        An AuthenticationResponse