Package io.micronaut.security.ldap
Interface ContextAuthenticationMapper
- All Known Implementing Classes:
DefaultContextAuthenticationMapper
public interface ContextAuthenticationMapper
Responsible for mapping the result of LDAP authentication to an
AuthenticationResponse
.- Since:
- 1.0
- Author:
- James Kleeh
-
Method Summary
-
Method Details
-
map
AuthenticationResponse map(io.micronaut.core.convert.value.ConvertibleValues<Object> attributes, String username, Set<String> groups) - Parameters:
attributes
- The attributes in the contextusername
- The username used to authenticategroups
- The roles associated with the user- Returns:
- An
AuthenticationResponse
-