Interface ContextAuthenticationMapper
-
- All Known Implementing Classes:
DefaultContextAuthenticationMapper
public interface ContextAuthenticationMapper
Responsible for mapping the result of LDAP authentication to anAuthenticationResponse
.- Since:
- 1.0
- Author:
- James Kleeh
-
-
Method Summary
All Methods Instance Methods Abstract 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)
-
-
-
Method Detail
-
map
AuthenticationResponse map(io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object> attributes, java.lang.String username, java.util.Set<java.lang.String> groups)
- Parameters:
attributes
- The attributes in the contextusername
- The username used to authenticategroups
- The roles associated with the user- Returns:
- An
AuthenticationResponse
-
-