public class InfinispanIDM extends Object implements IdentityManager
| Modifier and Type | Field and Description |
|---|---|
protected org.infinispan.Cache |
cache |
| Constructor and Description |
|---|
InfinispanIDM(org.infinispan.Cache cache) |
public Realm getRealm(String id)
getRealm in interface IdentityManagerpublic List<Realm> getRealmsByName(String name)
getRealmsByName in interface IdentityManagerpublic Realm create(Realm realm)
create in interface IdentityManagerpublic void update(Realm realm)
update in interface IdentityManagerpublic void delete(Realm realm)
delete in interface IdentityManagerpublic List<RequiredCredential> getRequiredCredentials(Realm realm)
getRequiredCredentials in interface IdentityManagerpublic RequiredCredential create(Realm realm, RequiredCredential cred)
create in interface IdentityManagerpublic RequiredCredential getRealmCredential(String id)
getRealmCredential in interface IdentityManagerpublic void update(RequiredCredential cred)
update in interface IdentityManagerpublic void delete(RequiredCredential cred)
delete in interface IdentityManagerpublic User create(Realm realm, User user)
create in interface IdentityManagerpublic User getUser(Realm realm, String username)
getUser in interface IdentityManagerpublic void update(User user)
update in interface IdentityManagerpublic void delete(User user)
delete in interface IdentityManagerpublic UserCredential create(User user, UserCredential cred)
create in interface IdentityManagerpublic List<UserCredential> getCredentials(User user)
getCredentials in interface IdentityManagerpublic UserCredential getCredential(String id)
getCredential in interface IdentityManagerpublic void update(UserCredential cred)
update in interface IdentityManagerpublic void delete(UserCredential cred)
delete in interface IdentityManagerpublic UserAttribute getUserAttribute(String id)
getUserAttribute in interface IdentityManagerpublic UserAttribute create(User user, UserAttribute attribute)
create in interface IdentityManagerpublic void update(UserAttribute attribute)
update in interface IdentityManagerpublic void delete(UserAttribute attribute)
delete in interface IdentityManagerpublic Resource getResource(String id)
getResource in interface IdentityManagerpublic Resource getResource(Realm realm, String name)
getResource in interface IdentityManagerpublic List<Resource> getResources(Realm realm)
getResources in interface IdentityManagerpublic Resource create(Realm realm, Resource resource)
create in interface IdentityManagerpublic void update(Resource resource)
update in interface IdentityManagerpublic void delete(Resource resource)
delete in interface IdentityManagerpublic Role getRoleByName(Realm realm, String roleName)
getRoleByName in interface IdentityManagerpublic Role getRoleByName(Resource resource, String roleName)
getRoleByName in interface IdentityManagerpublic List<Role> getRoles(Realm realm, Resource resource)
getRoles in interface IdentityManagerpublic List<Role> getRoles(Realm realm)
getRoles in interface IdentityManagerpublic Role getRole(String id)
getRole in interface IdentityManagerpublic Role create(Realm realm, Resource resource, String roleName)
create in interface IdentityManagerpublic Role create(Realm realm, String roleName)
create in interface IdentityManagerpublic void delete(Role role)
delete in interface IdentityManagerpublic List<RoleMapping> getRoleMappings(Realm realm)
getRoleMappings in interface IdentityManagerpublic List<RoleMapping> getRoleMappings(Realm realm, Resource resource)
getRoleMappings in interface IdentityManagerpublic RoleMapping getRoleMapping(Realm realm, User user)
getRoleMapping in interface IdentityManagerpublic RoleMapping getRoleMapping(Realm realm, Resource resource, User user)
getRoleMapping in interface IdentityManagerpublic RoleMapping getRoleMapping(String id)
getRoleMapping in interface IdentityManagerpublic RoleMapping create(Realm realm, User user, RoleMapping mapping)
create in interface IdentityManagerpublic RoleMapping create(Realm realm, Resource resource, User user, RoleMapping mapping)
create in interface IdentityManagerpublic void delete(RoleMapping role)
delete in interface IdentityManagerpublic List<ScopeMapping> getScopeMappings(Realm realm)
getScopeMappings in interface IdentityManagerpublic List<ScopeMapping> getScopeMappings(Realm realm, Resource resource)
getScopeMappings in interface IdentityManagerpublic ScopeMapping getScopeMapping(Realm realm, User user)
getScopeMapping in interface IdentityManagerpublic ScopeMapping getScopeMapping(Realm realm, Resource resource, User user)
getScopeMapping in interface IdentityManagerpublic ScopeMapping getScopeMapping(String id)
getScopeMapping in interface IdentityManagerpublic ScopeMapping create(Realm realm, User user, ScopeMapping mapping)
create in interface IdentityManagerpublic ScopeMapping create(Realm realm, Resource resource, User user, ScopeMapping mapping)
create in interface IdentityManagerpublic void delete(ScopeMapping scope)
delete in interface IdentityManagerCopyright © 2021 JBoss by Red Hat. All rights reserved.