Class InMemoryRegisteredClientRoleAssignmentRepository
java.lang.Object
io.jmix.authserver.roleassignment.InMemoryRegisteredClientRoleAssignmentRepository
- All Implemented Interfaces:
 RegisteredClientRoleAssignmentRepository
public class InMemoryRegisteredClientRoleAssignmentRepository
extends Object
implements RegisteredClientRoleAssignmentRepository
In-memory implementation of 
RegisteredClientRoleAssignmentRepository.- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.google.common.collect.Multimap<String,RegisteredClientRoleAssignment> protected com.google.common.collect.Multimap<String,RegisteredClientRoleAssignment>  - 
Constructor Summary
ConstructorsConstructorDescriptionInMemoryRegisteredClientRoleAssignmentRepository(RegisteredClientRoleAssignment... roleAssignments) InMemoryRegisteredClientRoleAssignmentRepository(Collection<RegisteredClientRoleAssignment> roleAssignments)  - 
Method Summary
Modifier and TypeMethodDescriptionfindByClientId(String clientId) findByRegistrationId(String registrationId) voidsave(RegisteredClientRoleAssignment roleAssignment)  
- 
Field Details
- 
registrationToRoleAssignmentsMap
protected com.google.common.collect.Multimap<String,RegisteredClientRoleAssignment> registrationToRoleAssignmentsMap - 
clientToRoleAssignmentsMap
protected com.google.common.collect.Multimap<String,RegisteredClientRoleAssignment> clientToRoleAssignmentsMap 
 - 
 - 
Constructor Details
- 
InMemoryRegisteredClientRoleAssignmentRepository
public InMemoryRegisteredClientRoleAssignmentRepository(RegisteredClientRoleAssignment... roleAssignments)  - 
InMemoryRegisteredClientRoleAssignmentRepository
public InMemoryRegisteredClientRoleAssignmentRepository(Collection<RegisteredClientRoleAssignment> roleAssignments)  
 - 
 - 
Method Details
- 
save
- Specified by:
 savein interfaceRegisteredClientRoleAssignmentRepository
 - 
findByClientId
- Specified by:
 findByClientIdin interfaceRegisteredClientRoleAssignmentRepository
 - 
findByRegistrationId
- Specified by:
 findByRegistrationIdin interfaceRegisteredClientRoleAssignmentRepository
 
 -