Package org.apache.iotdb.db.auth
Interface IAuthorCache
-
- All Known Implementing Classes:
BasicAuthorityCache
public interface IAuthorCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.iotdb.commons.auth.entity.RolegetRoleCache(java.lang.String roleName)org.apache.iotdb.commons.auth.entity.UsergetUserCache(java.lang.String userName)booleaninvalidateCache(java.lang.String userName, java.lang.String roleName)voidputRoleCache(java.lang.String roleName, org.apache.iotdb.commons.auth.entity.Role role)voidputUserCache(java.lang.String userName, org.apache.iotdb.commons.auth.entity.User user)
-
-
-
Method Detail
-
getUserCache
org.apache.iotdb.commons.auth.entity.User getUserCache(java.lang.String userName)
-
getRoleCache
org.apache.iotdb.commons.auth.entity.Role getRoleCache(java.lang.String roleName)
-
putUserCache
void putUserCache(java.lang.String userName, org.apache.iotdb.commons.auth.entity.User user)
-
putRoleCache
void putRoleCache(java.lang.String roleName, org.apache.iotdb.commons.auth.entity.Role role)
-
invalidateCache
boolean invalidateCache(java.lang.String userName, java.lang.String roleName)
-
-