Package io.micronaut.security.ldap
Class DefaultContextAuthenticationMapper
java.lang.Object
io.micronaut.security.ldap.DefaultContextAuthenticationMapper
- All Implemented Interfaces:
 ContextAuthenticationMapper
@Singleton
public class DefaultContextAuthenticationMapper
extends Object
implements ContextAuthenticationMapper
The default implementation to create an 
AuthenticationResponse from a successful
 ldap authentication result.- Since:
 - 1.0
 - Author:
 - James Kleeh
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
DefaultContextAuthenticationMapper
public DefaultContextAuthenticationMapper() 
 - 
 - 
Method Details
- 
map
public AuthenticationResponse map(io.micronaut.core.convert.value.ConvertibleValues<Object> attributes, String username, Set<String> groups) - Specified by:
 mapin interfaceContextAuthenticationMapper- Parameters:
 attributes- The attributes in the contextusername- The username used to authenticategroups- The roles associated with the user- Returns:
 - An 
AuthenticationResponse 
 
 -