Uses of Class
org.apache.iotdb.commons.auth.AuthException
-
-
Uses of AuthException in org.apache.iotdb.commons.auth.authorizer
Methods in org.apache.iotdb.commons.auth.authorizer that throw AuthException Modifier and Type Method Description booleanBasicAuthorizer. checkUserPrivileges(java.lang.String username, PartialPath path, int privilegeId)booleanIAuthorizer. checkUserPrivileges(java.lang.String username, PartialPath path, int privilegeId)Check if the user have the privilege on the seriesPath.booleanOpenIdAuthorizer. checkUserPrivileges(java.lang.String username, PartialPath path, int privilegeId)voidBasicAuthorizer. createRole(java.lang.String roleName)voidIAuthorizer. createRole(java.lang.String roleName)Add a role.voidBasicAuthorizer. createUser(java.lang.String username, java.lang.String password)voidIAuthorizer. createUser(java.lang.String username, java.lang.String password)Create a user with given username and password.voidBasicAuthorizer. deleteRole(java.lang.String roleName)voidIAuthorizer. deleteRole(java.lang.String roleName)Delete a role.voidBasicAuthorizer. deleteUser(java.lang.String username)voidIAuthorizer. deleteUser(java.lang.String username)Delete a user.static IAuthorizerBasicAuthorizer. getInstance()Function for getting the instance of the local file authorizer.java.util.Set<java.lang.Integer>BasicAuthorizer. getPrivileges(java.lang.String username, PartialPath path)java.util.Set<java.lang.Integer>IAuthorizer. getPrivileges(java.lang.String username, PartialPath path)Get the all the privileges of a user on a seriesPath.RoleBasicAuthorizer. getRole(java.lang.String roleName)RoleIAuthorizer. getRole(java.lang.String roleName)Find a role by its name.UserBasicAuthorizer. getUser(java.lang.String username)UserIAuthorizer. getUser(java.lang.String username)Find a user by its name.voidBasicAuthorizer. grantPrivilegeToRole(java.lang.String roleName, PartialPath path, int privilegeId)voidIAuthorizer. grantPrivilegeToRole(java.lang.String roleName, PartialPath path, int privilegeId)Add a privilege on a seriesPath to a role.voidBasicAuthorizer. grantPrivilegeToUser(java.lang.String username, PartialPath path, int privilegeId)voidIAuthorizer. grantPrivilegeToUser(java.lang.String username, PartialPath path, int privilegeId)Grant a privilege on a seriesPath to a user.voidBasicAuthorizer. grantRoleToUser(java.lang.String roleName, java.lang.String username)voidIAuthorizer. grantRoleToUser(java.lang.String roleName, java.lang.String username)Add a role to a user.protected voidBasicAuthorizer. init()booleanBasicAuthorizer. isUserUseWaterMark(java.lang.String userName)booleanIAuthorizer. isUserUseWaterMark(java.lang.String userName)Whether data water-mark is enabled for user 'userName'.booleanBasicAuthorizer. login(java.lang.String username, java.lang.String password)booleanIAuthorizer. login(java.lang.String username, java.lang.String password)Login for a user.booleanOpenIdAuthorizer. login(java.lang.String token, java.lang.String password)voidBasicAuthorizer. replaceAllRoles(java.util.Map<java.lang.String,Role> roles)voidIAuthorizer. replaceAllRoles(java.util.Map<java.lang.String,Role> roles)clear all old role info, replace the old roles with the new onevoidBasicAuthorizer. replaceAllUsers(java.util.Map<java.lang.String,User> users)voidIAuthorizer. replaceAllUsers(java.util.Map<java.lang.String,User> users)clear all old user info, replace the old users with the new onevoidBasicAuthorizer. reset()voidIAuthorizer. reset()Reset the Authorizer to initiative status.voidBasicAuthorizer. revokePrivilegeFromRole(java.lang.String roleName, PartialPath path, int privilegeId)voidIAuthorizer. revokePrivilegeFromRole(java.lang.String roleName, PartialPath path, int privilegeId)Remove a privilege on a seriesPath from a role.voidBasicAuthorizer. revokePrivilegeFromUser(java.lang.String username, PartialPath path, int privilegeId)voidIAuthorizer. revokePrivilegeFromUser(java.lang.String username, PartialPath path, int privilegeId)Revoke a privilege on seriesPath from a user.voidBasicAuthorizer. revokeRoleFromUser(java.lang.String roleName, java.lang.String username)voidIAuthorizer. revokeRoleFromUser(java.lang.String roleName, java.lang.String username)Revoke a role from a user.voidBasicAuthorizer. setUserUseWaterMark(java.lang.String userName, boolean useWaterMark)voidIAuthorizer. setUserUseWaterMark(java.lang.String userName, boolean useWaterMark)Enable or disable data water-mark for user 'userName'.voidBasicAuthorizer. updateUserPassword(java.lang.String username, java.lang.String newPassword)voidIAuthorizer. updateUserPassword(java.lang.String username, java.lang.String newPassword)Modify the password of a user.Constructors in org.apache.iotdb.commons.auth.authorizer that throw AuthException Constructor Description LocalFileAuthorizer()OpenIdAuthorizer()OpenIdAuthorizer(java.lang.String providerUrl)OpenIdAuthorizer(net.minidev.json.JSONObject jwk) -
Uses of AuthException in org.apache.iotdb.commons.auth.entity
Methods in org.apache.iotdb.commons.auth.entity that throw AuthException Modifier and Type Method Description booleanRole. checkPrivilege(PartialPath path, int privilegeId)booleanUser. checkPrivilege(PartialPath path, int privilegeId)java.util.Set<java.lang.Integer>Role. getPrivileges(PartialPath path)java.util.Set<java.lang.Integer>User. getPrivileges(PartialPath path) -
Uses of AuthException in org.apache.iotdb.commons.auth.role
Methods in org.apache.iotdb.commons.auth.role that throw AuthException Modifier and Type Method Description booleanBasicRoleManager. createRole(java.lang.String rolename)booleanIRoleManager. createRole(java.lang.String rolename)Create a role with given rolename.booleanBasicRoleManager. deleteRole(java.lang.String rolename)booleanIRoleManager. deleteRole(java.lang.String rolename)Delete a role.RoleBasicRoleManager. getRole(java.lang.String rolename)RoleIRoleManager. getRole(java.lang.String rolename)Get a role object.booleanBasicRoleManager. grantPrivilegeToRole(java.lang.String rolename, PartialPath path, int privilegeId)booleanIRoleManager. grantPrivilegeToRole(java.lang.String rolename, PartialPath path, int privilegeId)Grant a privilege on a seriesPath to a role.voidBasicRoleManager. replaceAllRoles(java.util.Map<java.lang.String,Role> roles)voidIRoleManager. replaceAllRoles(java.util.Map<java.lang.String,Role> roles)clear all old roles info, replace the old roles with the new one.booleanBasicRoleManager. revokePrivilegeFromRole(java.lang.String rolename, PartialPath path, int privilegeId)booleanIRoleManager. revokePrivilegeFromRole(java.lang.String rolename, PartialPath path, int privilegeId)Revoke a privilege on seriesPath from a role. -
Uses of AuthException in org.apache.iotdb.commons.auth.user
Methods in org.apache.iotdb.commons.auth.user that throw AuthException Modifier and Type Method Description booleanBasicUserManager. createUser(java.lang.String username, java.lang.String password)booleanIUserManager. createUser(java.lang.String username, java.lang.String password)Create a user with given username and password.booleanBasicUserManager. deleteUser(java.lang.String username)booleanIUserManager. deleteUser(java.lang.String username)Delete a user.UserBasicUserManager. getUser(java.lang.String username)UserIUserManager. getUser(java.lang.String username)Get a user object.booleanBasicUserManager. grantPrivilegeToUser(java.lang.String username, PartialPath path, int privilegeId)booleanIUserManager. grantPrivilegeToUser(java.lang.String username, PartialPath path, int privilegeId)Grant a privilege on a seriesPath to a user.booleanBasicUserManager. grantRoleToUser(java.lang.String roleName, java.lang.String username)booleanIUserManager. grantRoleToUser(java.lang.String roleName, java.lang.String username)Add a role to a user.booleanBasicUserManager. isUserUseWaterMark(java.lang.String username)booleanIUserManager. isUserUseWaterMark(java.lang.String userName)Whether data water-mark is enabled for user 'userName'.voidBasicUserManager. replaceAllUsers(java.util.Map<java.lang.String,User> users)voidIUserManager. replaceAllUsers(java.util.Map<java.lang.String,User> users)clear all old users info, replace the old users with the new one.voidBasicUserManager. reset()voidIUserManager. reset()Re-initialize this object.booleanBasicUserManager. revokePrivilegeFromUser(java.lang.String username, PartialPath path, int privilegeId)booleanIUserManager. revokePrivilegeFromUser(java.lang.String username, PartialPath path, int privilegeId)Revoke a privilege on seriesPath from a user.booleanBasicUserManager. revokeRoleFromUser(java.lang.String roleName, java.lang.String username)booleanIUserManager. revokeRoleFromUser(java.lang.String roleName, java.lang.String username)Revoke a role from a user.voidBasicUserManager. setUserUseWaterMark(java.lang.String username, boolean useWaterMark)voidIUserManager. setUserUseWaterMark(java.lang.String userName, boolean useWaterMark)Enable or disable data water-mark for user 'userName'.booleanBasicUserManager. updateUserPassword(java.lang.String username, java.lang.String newPassword)booleanIUserManager. updateUserPassword(java.lang.String username, java.lang.String newPassword)Modify the password of a user.Constructors in org.apache.iotdb.commons.auth.user that throw AuthException Constructor Description BasicUserManager(IUserAccessor accessor)BasicUserManager Constructor.LocalFileUserManager(java.lang.String userDirPath) -
Uses of AuthException in org.apache.iotdb.commons.utils
Methods in org.apache.iotdb.commons.utils that throw AuthException Modifier and Type Method Description static booleanAuthUtils. checkPrivilege(PartialPath path, int privilegeId, java.util.List<PathPrivilege> privilegeList)Check privilegestatic java.util.Set<java.lang.Integer>AuthUtils. getPrivileges(PartialPath path, java.util.List<PathPrivilege> privilegeList)Get privilegesstatic java.util.Set<java.lang.Integer>AuthUtils. strToPermissions(java.lang.String[] authorizationList)Transform permission from name to privilegeIdstatic voidAuthUtils. validatePassword(java.lang.String password)Validate passwordstatic voidAuthUtils. validatePath(PartialPath path)Validate pathstatic voidAuthUtils. validatePrivilege(int privilegeId)Validate privilegestatic voidAuthUtils. validatePrivilegeOnPath(PartialPath path, int privilegeId)Validate privilege on pathstatic voidAuthUtils. validateRolename(java.lang.String rolename)Validate role namestatic voidAuthUtils. validateUsername(java.lang.String username)Validate username
-