public class DefaultIdentityCache extends Object implements IdentityCache
Default IdentityCache
implementation.
Constructor and Description |
---|
DefaultIdentityCache() |
Modifier and Type | Method and Description |
---|---|
void |
invalidate(Partition partition,
IdentityType identityType) |
Agent |
lookupAgent(Realm realm,
String loginName) |
Group |
lookupGroup(Partition partition,
String groupPath) |
Role |
lookupRole(Partition partition,
String name) |
User |
lookupUser(Realm realm,
String loginName) |
void |
putAgent(Realm realm,
Agent agent) |
void |
putGroup(Partition partition,
Group group) |
void |
putRole(Partition partition,
Role role) |
void |
putUser(Realm realm,
User user) |
public User lookupUser(Realm realm, String loginName)
lookupUser
in interface IdentityCache
public Group lookupGroup(Partition partition, String groupPath)
lookupGroup
in interface IdentityCache
public Role lookupRole(Partition partition, String name)
lookupRole
in interface IdentityCache
public void putUser(Realm realm, User user)
putUser
in interface IdentityCache
public void putGroup(Partition partition, Group group)
putGroup
in interface IdentityCache
public void putRole(Partition partition, Role role)
putRole
in interface IdentityCache
public Agent lookupAgent(Realm realm, String loginName)
lookupAgent
in interface IdentityCache
public void putAgent(Realm realm, Agent agent)
putAgent
in interface IdentityCache
public void invalidate(Partition partition, IdentityType identityType)
invalidate
in interface IdentityCache
Copyright © 2019 JBoss by Red Hat. All rights reserved.