Package | Description |
---|---|
org.seedstack.ldap |
Modifier and Type | Method and Description |
---|---|
LdapUserContext |
LdapService.createUserContext(String dn)
Creates a new DefaultLDAPUserContext knowing the dn of the user.
|
LdapUserContext |
LdapService.findUser(String identityAttributeValue)
Creates a new DefaultLDAPUserContext based on the identifying attribute of the user.
|
LdapUserContext |
LdapUserContextPrincipalProvider.getPrincipal()
Returns the LdapUserContext.
|
Modifier and Type | Method and Description |
---|---|
void |
LdapService.authenticate(LdapUserContext userContext,
String password)
Authenticates a user with its context
|
String |
LdapService.getAttributeValue(LdapUserContext userContext,
String attribute)
Gives the value of the attribute name passed as parameter.
|
Map<String,String> |
LdapService.getAttributeValues(LdapUserContext userContext,
String... attributes)
Gives the value of the attribute names passed as parameters.
|
Set<String> |
LdapService.retrieveUserGroups(LdapUserContext userContext)
Finds all the groups in which the user is defined as a member.
|
Constructor and Description |
---|
LdapUserContextPrincipalProvider(LdapUserContext userContext)
Constructor with the LdapUserContext.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.