Package com.mapr.security
Class IamRolesHelper
java.lang.Object
com.mapr.security.IamRolesHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHashSet<com.mapr.fs.proto.PolicyServerProto.IdentityInfoMsg>getGroupToRoles(com.mapr.fs.proto.PolicyServerProto.IdentityInfoMsg group) static final HashSet<com.mapr.fs.proto.PolicyServerProto.IdentityInfoMsg>getIdentities(HashSet<Integer> idList, com.mapr.fs.proto.PolicyServerProto.IdentityType idType) getRoleIds(HashSet<String> roleNames) getRolename(int roleId) getRolenames(HashSet<Integer> roleIds) HashSet<com.mapr.fs.proto.PolicyServerProto.IdentityInfoMsg>getUserToRoles(com.mapr.fs.proto.PolicyServerProto.IdentityInfoMsg user) voidremoveRole(int roleId, String roleName)
-
Constructor Details
-
IamRolesHelper
-
-
Method Details
-
addRole
-
removeRole
-
getRolenames
- Throws:
Exception
-
getRoleIds
- Throws:
Exception
-
getRolename
-
getRoleId
-
getUserToRoles
public HashSet<com.mapr.fs.proto.PolicyServerProto.IdentityInfoMsg> getUserToRoles(com.mapr.fs.proto.PolicyServerProto.IdentityInfoMsg user) throws Exception - Throws:
Exception
-
getGroupToRoles
public HashSet<com.mapr.fs.proto.PolicyServerProto.IdentityInfoMsg> getGroupToRoles(com.mapr.fs.proto.PolicyServerProto.IdentityInfoMsg group) throws Exception - Throws:
Exception
-
getIdentities
-