@Singleton public class DefaultContextAuthenticationMapper extends java.lang.Object implements ContextAuthenticationMapper
AuthenticationResponse
from a successful
ldap authentication result.Constructor and Description |
---|
DefaultContextAuthenticationMapper() |
Modifier and Type | Method and Description |
---|---|
AuthenticationResponse |
map(io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object> attributes,
java.lang.String username,
java.util.Set<java.lang.String> groups) |
public AuthenticationResponse map(io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object> attributes, java.lang.String username, java.util.Set<java.lang.String> groups)
map
in interface ContextAuthenticationMapper
attributes
- The attributes in the contextusername
- The username used to authenticategroups
- The roles associated with the userAuthenticationResponse