public interface IDirCache
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clear the cache type
|
default void |
clearQueryCache()
Clear query cache
|
void |
enable(boolean enable)
(de)Activate this cache
|
IDirPrincipal |
get(IURI uri)
Retrieves a principal by uri
|
IDirPrincipal |
get(String dn)
Retrieves a principal by dn
|
IDirPrincipalList |
getList(String query)
Retrieves a principal list by query
|
String |
getPasswordHash(IURI uri)
Gets password hash from authentication cache
|
void |
invalidatePrincipal(IDirPrincipal dirPrincipal)
invalidates based upon the dirPrincipal
|
void |
invalidatePrincipal(IURI uri)
invalidates based upon the uri
|
void |
invalidatePrincipal(String dn)
invalidates based upon the dn
|
boolean |
isEnabled()
Whether this directory cache is active
|
void |
put(IURI uri,
IDirPrincipal dirPrincipal)
Puts a principal in the cache based on the uri
|
void |
put(String dn,
IDirPrincipal dirPrincipal)
Puts a principal in the cache based on the dn
|
void |
putList(String query,
IDirPrincipalList dirPrincipalList)
Puts a principal list in the cache based on the query
|
void |
putPasswordHash(IURI uri,
String passwordHash)
Puts authentication cache
|
boolean isEnabled() throws PortalException
PortalException
void enable(boolean enable) throws PortalException
PortalException
void clearCache() throws PortalException
PortalException
void putPasswordHash(IURI uri, String passwordHash) throws PortalException
PortalException
String getPasswordHash(IURI uri) throws PortalException
PortalException
void put(String dn, IDirPrincipal dirPrincipal) throws PortalException
PortalException
void put(IURI uri, IDirPrincipal dirPrincipal) throws PortalException
PortalException
void putList(String query, IDirPrincipalList dirPrincipalList) throws PortalException
PortalException
IDirPrincipal get(String dn) throws PortalException
PortalException
IDirPrincipal get(IURI uri) throws PortalException
PortalException
IDirPrincipalList getList(String query) throws PortalException
PortalException
void invalidatePrincipal(String dn) throws PortalException
PortalException
void invalidatePrincipal(IURI uri) throws PortalException
PortalException
void invalidatePrincipal(IDirPrincipal dirPrincipal) throws PortalException
PortalException
default void clearQueryCache()