The first feature that this plugin brings is the ability to open or close and administrative session.
To create a new session, run the following command
signin username password
If you don't use the jmx command for 30 minutes, your session will expire and you'll have to login again.
To signout use.
signout
jmx permits.createPermit(john, 192.168.1.30, 10)
register john password john.doe@gmail.com
confirm john tokenid-xxxxx-xxxxxxx
You can use the methods of the users object to manage users and roles:
[00:29] <The_Birdman> jmx describe users [00:29] <jerkbot> MBean to perform users administration [00:29] <The_Birdman> jmx methods users [00:29] <jerkbot> addUser(java.lang.String username, java.lang.String password) [00:29] <jerkbot> removeUser(java.lang.String username) [00:29] <jerkbot> listUsers() [00:29] <jerkbot> listRoles() [00:29] <jerkbot> addRole(java.lang.String roleName) [00:30] <jerkbot> rolesForUser(java.lang.String username) [00:30] <jerkbot> addUserToRole(java.lang.String username, java.lang.String roleName) [00:30] <jerkbot> removeUserFromRole(java.lang.String username, java.lang.String roleName) [00:30] <jerkbot> removeRole(java.lang.String roleName) [00:31] <The_Birdman> jmx users.listRoles() [00:31] <jerkbot> 'Admin','SuperAdmin' ...