A D E F G H I L M N P R U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addPermission(Permission) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Add a
Permission
to the database. - addRole(Role) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Add a
Role
to the database. - addRolePermissions(RolePermissions) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Add one or more permissions to a role.
- addUser(UserAndPasswords) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Create a new user in the database.
- addUserRoles(UserRoles) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Add one or more roles to a user.
D
- DatabaseService - Interface in no.priv.bang.osgiservice.database
-
This is an OSGi service that encapsulates a JDBC database connection.
- description - Variable in class no.priv.bang.osgiservice.users.Permission
- description - Variable in class no.priv.bang.osgiservice.users.Role
E
- email - Variable in class no.priv.bang.osgiservice.users.User
- equals(Object) - Method in class no.priv.bang.osgiservice.users.Role
- equals(Object) - Method in class no.priv.bang.osgiservice.users.User
F
G
- getConnection() - Method in interface no.priv.bang.osgiservice.database.DatabaseService
-
Convenience function to get a connection to a database Note! Implementations should not cache this value because that may cause table lock issues in some implementations.
- getDatasource() - Method in interface no.priv.bang.osgiservice.database.DatabaseService
-
Provide access to a database.
- getDescription() - Method in class no.priv.bang.osgiservice.users.Permission
- getDescription() - Method in class no.priv.bang.osgiservice.users.Role
- getEmail() - Method in class no.priv.bang.osgiservice.users.User
- getFirstname() - Method in class no.priv.bang.osgiservice.users.User
- getId() - Method in class no.priv.bang.osgiservice.users.Permission
- getId() - Method in class no.priv.bang.osgiservice.users.Role
- getLastname() - Method in class no.priv.bang.osgiservice.users.User
- getPassword1() - Method in class no.priv.bang.osgiservice.users.UserAndPasswords
- getPassword2() - Method in class no.priv.bang.osgiservice.users.UserAndPasswords
- getPermissionname() - Method in class no.priv.bang.osgiservice.users.Permission
- getPermissions() - Method in class no.priv.bang.osgiservice.users.RolePermissions
- getPermissions() - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Return the list of roles defined in the database.
- getPermissionsForUser(String) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Typically called after login to get the list of all
Permission
s for the logged in user. - getRole() - Method in class no.priv.bang.osgiservice.users.RolePermissions
- getRolename() - Method in class no.priv.bang.osgiservice.users.Role
- getRoles() - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Return the list of roles defined in the database.
- getRoles() - Method in class no.priv.bang.osgiservice.users.UserRoles
- getRolesForUser(String) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Typically called after login to get the list of
Role
s for the logged in user - getRolesPermissions() - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Get all role to permission mappings in the database.
- getUser() - Method in class no.priv.bang.osgiservice.users.UserAndPasswords
- getUser() - Method in class no.priv.bang.osgiservice.users.UserRoles
- getUser(String) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Get a User from a username.
- getUserid() - Method in class no.priv.bang.osgiservice.users.User
- getUsername() - Method in class no.priv.bang.osgiservice.users.User
- getUserRoles() - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Get all
User.getUsername()
toRole
mappings in the database. - getUsers() - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Get all users in the database.
H
- hashCode() - Method in class no.priv.bang.osgiservice.users.Role
- hashCode() - Method in class no.priv.bang.osgiservice.users.User
I
- id - Variable in class no.priv.bang.osgiservice.users.Permission
- id - Variable in class no.priv.bang.osgiservice.users.Role
- isPasswordsNotIdentical() - Method in class no.priv.bang.osgiservice.users.UserAndPasswords
L
M
- modifyPermission(Permission) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Modify a
Permission
in the database. - modifyRole(Role) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Modify a
Role
in the database. - modifyUser(User) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Update a user in the database.
N
- no.priv.bang.osgiservice.database - package no.priv.bang.osgiservice.database
- no.priv.bang.osgiservice.users - package no.priv.bang.osgiservice.users
P
- password1 - Variable in class no.priv.bang.osgiservice.users.UserAndPasswords
- password2 - Variable in class no.priv.bang.osgiservice.users.UserAndPasswords
- passwordsNotIdentical - Variable in class no.priv.bang.osgiservice.users.UserAndPasswords
- Permission - Class in no.priv.bang.osgiservice.users
-
Bean used represent permissions assigned to
Role
s inUserManagementService
operations. - Permission() - Constructor for class no.priv.bang.osgiservice.users.Permission
- Permission(int, String, String) - Constructor for class no.priv.bang.osgiservice.users.Permission
- permissionname - Variable in class no.priv.bang.osgiservice.users.Permission
- permissions - Variable in class no.priv.bang.osgiservice.users.RolePermissions
R
- removeRolePermissions(RolePermissions) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Remove one or more permissions from a role.
- removeUserRoles(UserRoles) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Remove one or more roles from a user
- role - Variable in class no.priv.bang.osgiservice.users.RolePermissions
- Role - Class in no.priv.bang.osgiservice.users
-
Bean used represent user roles in
UserManagementService
operations. - Role() - Constructor for class no.priv.bang.osgiservice.users.Role
- Role(int, String, String) - Constructor for class no.priv.bang.osgiservice.users.Role
- rolename - Variable in class no.priv.bang.osgiservice.users.Role
- RolePermissions - Class in no.priv.bang.osgiservice.users
-
A JSON-friendly bean used to POST a
Role
object together with a list ofPermission
objects in REST APIs. - RolePermissions() - Constructor for class no.priv.bang.osgiservice.users.RolePermissions
-
No-args constructor mandated by jackson.
- RolePermissions(Role, List<Permission>) - Constructor for class no.priv.bang.osgiservice.users.RolePermissions
- roles - Variable in class no.priv.bang.osgiservice.users.UserRoles
U
- updatePassword(UserAndPasswords) - Method in interface no.priv.bang.osgiservice.users.UserManagementService
-
Change the passwords of a user in the database
- user - Variable in class no.priv.bang.osgiservice.users.UserAndPasswords
- user - Variable in class no.priv.bang.osgiservice.users.UserRoles
- User - Class in no.priv.bang.osgiservice.users
-
Bean used to in
UserManagementService
operations to represent a user in the database. - User() - Constructor for class no.priv.bang.osgiservice.users.User
- User(int, String, String, String, String) - Constructor for class no.priv.bang.osgiservice.users.User
- UserAndPasswords - Class in no.priv.bang.osgiservice.users
-
Bean used in password related
UserManagementService
operations. - UserAndPasswords() - Constructor for class no.priv.bang.osgiservice.users.UserAndPasswords
- UserAndPasswords(User, String, String, boolean) - Constructor for class no.priv.bang.osgiservice.users.UserAndPasswords
- userid - Variable in class no.priv.bang.osgiservice.users.User
- UserManagementService - Interface in no.priv.bang.osgiservice.users
-
This is an OSGi service that encapsulates user management Implementations of this interface will typically be used to manage users, groups and roles for a software application.
- username - Variable in class no.priv.bang.osgiservice.users.User
- UserRoles - Class in no.priv.bang.osgiservice.users
- UserRoles() - Constructor for class no.priv.bang.osgiservice.users.UserRoles
- UserRoles(User, List<Role>) - Constructor for class no.priv.bang.osgiservice.users.UserRoles
All Classes All Packages