public interface ReadOnlyIdentityProvider extends Session
SPI interface for read-only identity Service Providers.
This interface provides access to a read-only user / group repository
Modifier and Type | Method and Description |
---|---|
boolean |
checkPassword(String userId,
String password) |
GroupQuery |
createGroupQuery() |
GroupQuery |
createGroupQuery(CommandContext commandContext) |
UserQuery |
createUserQuery() |
UserQuery |
createUserQuery(CommandContext commandContext) |
Group |
findGroupById(String groupId) |
User |
findUserById(String userId) |
User findUserById(String userId)
User
object for the given user id or null if no such user exists.IdentityProviderException
- in case an error occursUserQuery createUserQuery()
UserQuery
object which can be used for querying for users.IdentityProviderException
- in case an error occursUserQuery createUserQuery(CommandContext commandContext)
UserQuery
object which can be used in the current command contextIdentityProviderException
- in case an error occursboolean checkPassword(String userId, String password)
IdentityProviderException
- in case an error occursGroup findGroupById(String groupId)
Group
object for the given group id or null if no such group exists.IdentityProviderException
- in case an error occursGroupQuery createGroupQuery()
GroupQuery
object which can be used for querying for groups.IdentityProviderException
- in case an error occursGroupQuery createGroupQuery(CommandContext commandContext)
GroupQuery
object which can be used for querying for groups and can be reused in the current command context.IdentityProviderException
- in case an error occursCopyright © 2018. All rights reserved.