|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of JetspeedSecurityException in org.apache.jetspeed.om.security.ldap |
Methods in org.apache.jetspeed.om.security.ldap that throw JetspeedSecurityException | |
void |
LDAPUser.update(boolean create)
|
Uses of JetspeedSecurityException in org.apache.jetspeed.services |
Methods in org.apache.jetspeed.services that throw JetspeedSecurityException | |
static JetspeedUser |
JetspeedUserManagement.getUser(java.security.Principal principal)
|
static java.util.Iterator |
JetspeedUserManagement.getUsers()
|
static java.util.Iterator |
JetspeedUserManagement.getUsers(java.lang.String filter)
|
static void |
JetspeedUserManagement.saveUser(JetspeedUser user)
|
static void |
JetspeedUserManagement.addUser(JetspeedUser user)
|
static void |
JetspeedUserManagement.removeUser(java.security.Principal principal)
|
static void |
JetspeedUserManagement.changePassword(JetspeedUser user,
java.lang.String oldPassword,
java.lang.String newPassword)
|
static void |
JetspeedUserManagement.forcePassword(JetspeedUser user,
java.lang.String password)
|
static java.lang.String |
JetspeedUserManagement.encryptPassword(java.lang.String password)
|
static JetspeedUser |
JetspeedSecurity.getUser(java.security.Principal principal)
|
static java.util.Iterator |
JetspeedSecurity.getUsers()
|
static void |
JetspeedSecurity.saveUser(JetspeedUser user)
|
static void |
JetspeedSecurity.addUser(JetspeedUser user)
|
static java.util.Iterator |
JetspeedSecurity.getUsers(java.lang.String filter)
|
static void |
JetspeedSecurity.removeUser(java.security.Principal principal)
|
static JetspeedUser |
JetspeedSecurity.getUser(java.lang.String username)
|
static void |
JetspeedSecurity.removeUser(java.lang.String username)
|
static void |
JetspeedSecurity.changePassword(JetspeedUser user,
java.lang.String oldPassword,
java.lang.String newPassword)
|
static void |
JetspeedSecurity.forcePassword(JetspeedUser user,
java.lang.String password)
|
static java.lang.String |
JetspeedSecurity.encryptPassword(java.lang.String password)
|
static java.util.Iterator |
JetspeedSecurity.getRoles(java.lang.String username)
|
static java.util.Iterator |
JetspeedSecurity.getRoles()
|
static void |
JetspeedSecurity.addRole(Role role)
|
static void |
JetspeedSecurity.saveRole(Role role)
|
static void |
JetspeedSecurity.removeRole(java.lang.String rolename)
|
static void |
JetspeedSecurity.grantRole(java.lang.String username,
java.lang.String rolename)
|
static void |
JetspeedSecurity.grantRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
static void |
JetspeedSecurity.revokeRole(java.lang.String username,
java.lang.String rolename)
|
static void |
JetspeedSecurity.revokeRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
static boolean |
JetspeedSecurity.hasRole(java.lang.String username,
java.lang.String rolename)
|
static boolean |
JetspeedSecurity.hasRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
static Role |
JetspeedSecurity.getRole(java.lang.String rolename)
|
static java.util.Iterator |
JetspeedSecurity.getGroups(java.lang.String username)
|
static java.util.Iterator |
JetspeedSecurity.getGroups()
|
static void |
JetspeedSecurity.addGroup(Group group)
|
static void |
JetspeedSecurity.saveGroup(Group group)
|
static void |
JetspeedSecurity.removeGroup(java.lang.String groupname)
|
static void |
JetspeedSecurity.joinGroup(java.lang.String username,
java.lang.String groupname)
|
static void |
JetspeedSecurity.joinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
|
static void |
JetspeedSecurity.unjoinGroup(java.lang.String username,
java.lang.String groupname)
|
static void |
JetspeedSecurity.unjoinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
|
static boolean |
JetspeedSecurity.inGroup(java.lang.String username,
java.lang.String groupname)
|
static Group |
JetspeedSecurity.getGroup(java.lang.String groupname)
|
static java.util.Iterator |
JetspeedSecurity.getPermissions(java.lang.String rolename)
|
static java.util.Iterator |
JetspeedSecurity.getPermissions()
|
static void |
JetspeedSecurity.addPermission(Permission permission)
|
static void |
JetspeedSecurity.savePermission(Permission permission)
|
static void |
JetspeedSecurity.removePermission(java.lang.String permissionName)
|
static void |
JetspeedSecurity.grantPermission(java.lang.String roleName,
java.lang.String permissionName)
|
static void |
JetspeedSecurity.revokePermission(java.lang.String roleName,
java.lang.String permissionName)
|
static boolean |
JetspeedSecurity.hasPermission(java.lang.String roleName,
java.lang.String permissionName)
|
static Permission |
JetspeedSecurity.getPermission(java.lang.String permissionName)
|
static java.lang.String |
JetspeedSecurity.generateMixedCasePassword(int length)
A utility method that will generate a password consisting of random numbers and letters of length N |
static java.lang.String |
JetspeedSecurity.generateLowerCasePassword(int length)
A utility method that will generate a lowercase password consisting of random numbers and letters of length N |
static java.lang.String |
JetspeedSecurity.generateUpperCasePassword(int length)
A utility method that will generate an uppercase password consisting of random numbers and letters of length N |
Uses of JetspeedSecurityException in org.apache.jetspeed.services.security |
Subclasses of JetspeedSecurityException in org.apache.jetspeed.services.security | |
class |
AccountExpiredException
Signals that a user account has expired. |
class |
AuthorizationException
This is the basic authorization exception. |
class |
CredentialExpiredException
Signals that a Credential has expired. |
class |
FailedLoginException
Signals that user authentication failed. |
class |
GroupException
This is the basic group exception. |
class |
InsufficientPrivilegeException
This exception is thrown when the requestor has insufficient privilege. |
class |
LoginException
This is the basic login exception. |
class |
NotUniqueUserException
This exception is thrown when the public credentials fail to meet the security provider-specific unique constraints. |
class |
PermissionException
This is the basic permission exception. |
class |
RoleException
This is the basic role exception. |
class |
UnknownUserException
This exception is thrown when the requested user principal was not found. |
class |
UserException
This is the basic user exception. |
Methods in org.apache.jetspeed.services.security that throw JetspeedSecurityException | |
JetspeedUser |
UserManagement.getUser(java.security.Principal principal)
Retrieves a JetspeedUser given the primary principle. |
java.util.Iterator |
UserManagement.getUsers()
Retrieves a collection of all JetspeedUser s. |
java.util.Iterator |
UserManagement.getUsers(java.lang.String filter)
Retrieves a collection of JetspeedUser s filtered by a security
provider-specific query string. |
void |
UserManagement.saveUser(JetspeedUser user)
Saves a JetspeedUser 's attributes into permanent storage. |
void |
UserManagement.addUser(JetspeedUser user)
Adds a JetspeedUser into permanent storage. |
void |
UserManagement.removeUser(java.security.Principal principal)
Removes a JetspeedUser from the permanent store. |
void |
SecurityCacheService.load(java.lang.String username)
|
void |
SecurityCacheImpl.load(java.lang.String username)
|
java.util.Iterator |
RoleManagement.getRoles(java.lang.String username)
Retrieves all Role s for a given username principal. |
java.util.Iterator |
RoleManagement.getRoles()
Retrieves all Role s. |
void |
RoleManagement.addRole(Role role)
Adds a Role into permanent storage. |
void |
RoleManagement.saveRole(Role role)
Saves a Role into permanent storage. |
void |
RoleManagement.removeRole(java.lang.String rolename)
Removes a Role from the permanent store. |
void |
RoleManagement.grantRole(java.lang.String username,
java.lang.String rolename)
Grants a role to a user. |
void |
RoleManagement.grantRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupName)
|
void |
RoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename)
Revokes a role from a user. |
void |
RoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
boolean |
RoleManagement.hasRole(java.lang.String username,
java.lang.String rolename)
Checks for the relationship of user has a role. |
boolean |
RoleManagement.hasRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
Role |
RoleManagement.getRole(java.lang.String rolename)
Retrieves a single Role for a given rolename principal. |
java.util.Iterator |
PermissionManagement.getPermissions(java.lang.String rolename)
Retrieves all Permission s for a given rolename principal. |
java.util.Iterator |
PermissionManagement.getPermissions()
Retrieves all Permission s. |
void |
PermissionManagement.addPermission(Permission permission)
Adds a Permission into permanent storage. |
void |
PermissionManagement.savePermission(Permission permission)
Saves a Permission into permanent storage. |
void |
PermissionManagement.removePermission(java.lang.String permissionName)
Removes a Permission from the permanent store. |
void |
PermissionManagement.grantPermission(java.lang.String roleName,
java.lang.String permissionName)
Grants a permission to a role. |
void |
PermissionManagement.revokePermission(java.lang.String roleName,
java.lang.String permissionName)
Revokes a permission from a role. |
boolean |
PermissionManagement.hasPermission(java.lang.String roleName,
java.lang.String permissionName)
Checks for the relationship of role has a permission. |
Permission |
PermissionManagement.getPermission(java.lang.String permissionName)
Retrieves a single Permission for a given permissionName principal. |
JetspeedUser |
JetspeedSecurityService.getUser(java.lang.String username)
Helper to UserManagement. |
static void |
JetspeedSecurityCache.load(java.lang.String username)
|
static java.util.Iterator |
JetspeedRoleManagement.getRoles(java.lang.String username)
Retrieves all Role s for a given username principal. |
static java.util.Iterator |
JetspeedRoleManagement.getRoles()
Retrieves all Role s. |
static void |
JetspeedRoleManagement.addRole(Role role)
Adds a Role into permanent storage. |
static void |
JetspeedRoleManagement.saveRole(Role role)
Save a Role into permanent storage. |
static void |
JetspeedRoleManagement.removeRole(java.lang.String rolename)
Removes a Role from the permanent store. |
static void |
JetspeedRoleManagement.grantRole(java.lang.String username,
java.lang.String rolename)
Grants a role to a user. |
static void |
JetspeedRoleManagement.grantRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
Grants a role to a user for a given group. |
static void |
JetspeedRoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename)
Revokes a role from a user. |
static void |
JetspeedRoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
Revokes a role from a user for a specific group. |
static boolean |
JetspeedRoleManagement.hasRole(java.lang.String username,
java.lang.String rolename)
Checks for the relationship of user has a role. |
static boolean |
JetspeedRoleManagement.hasRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
static Role |
JetspeedRoleManagement.getRole(java.lang.String rolename)
Retrieves a single Role for a given rolename principal. |
static java.util.Iterator |
JetspeedPermissionManagement.getPermissions(java.lang.String rolename)
Retrieves all Permission s for a given rolename principal. |
static java.util.Iterator |
JetspeedPermissionManagement.getPermissions()
Retrieves all Permission s. |
static void |
JetspeedPermissionManagement.addPermission(Permission permission)
Adds a Permission into permanent storage. |
static void |
JetspeedPermissionManagement.savePermission(Permission permission)
Saves a Permission into permanent storage. |
static void |
JetspeedPermissionManagement.removePermission(java.lang.String permissionName)
Removes a Permission from the permanent store. |
static void |
JetspeedPermissionManagement.grantPermission(java.lang.String roleName,
java.lang.String permissionName)
Grants a permission to a role. |
static void |
JetspeedPermissionManagement.revokePermission(java.lang.String roleName,
java.lang.String permissionName)
Revokes a permission from a role. |
static boolean |
JetspeedPermissionManagement.hasPermission(java.lang.String roleName,
java.lang.String permissionName)
Checks for the relationship of role has a permission. |
static Permission |
JetspeedPermissionManagement.getPermission(java.lang.String permissionName)
Retrieves a single Permission for a given permissionName principal. |
static java.util.Iterator |
JetspeedGroupManagement.getGroups(java.lang.String username)
Retrieves all Group s for a given username principal. |
static java.util.Iterator |
JetspeedGroupManagement.getGroups()
Retrieves all Group s. |
static void |
JetspeedGroupManagement.addGroup(Group group)
Adds a Group into permanent storage. |
static void |
JetspeedGroupManagement.saveGroup(Group group)
Saves a Group into permanent storage. |
static void |
JetspeedGroupManagement.removeGroup(java.lang.String groupname)
Removes a Group from the permanent store. |
static void |
JetspeedGroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname)
Join a user to a group. |
static void |
JetspeedGroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Join a user to a group - specific role. |
static void |
JetspeedGroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupname)
Unjoin a user from a group. |
static void |
JetspeedGroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Unjoin a user from a group - specific role. |
static boolean |
JetspeedGroupManagement.inGroup(java.lang.String username,
java.lang.String groupname)
Checks for the relationship of user has a group. |
static Group |
JetspeedGroupManagement.getGroup(java.lang.String groupname)
Retrieves a single Group for a given groupname principal. |
JetspeedUser |
JetspeedDBSecurityService.getUser(java.lang.String username)
Helper to UserManagement. |
java.util.Iterator |
GroupManagement.getGroups(java.lang.String username)
Retrieves all Group s for a given username principal. |
java.util.Iterator |
GroupManagement.getGroups()
Retrieves all Group s. |
void |
GroupManagement.addGroup(Group group)
Adds a Group into permanent storage. |
void |
GroupManagement.saveGroup(Group group)
Saves a Group into permanent storage. |
void |
GroupManagement.removeGroup(java.lang.String groupname)
Removes a Group from the permanent store. |
void |
GroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname)
Joins a user to a group. |
void |
GroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Joins a user into a group with a specific role. |
void |
GroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupname)
Unjoins a user from a group. |
void |
GroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Unjoins a user from a group - specific role. |
boolean |
GroupManagement.inGroup(java.lang.String username,
java.lang.String groupname)
Checks for the relationship of user in a group. |
Group |
GroupManagement.getGroup(java.lang.String groupname)
Retrieves a single Group for a given groupname principal. |
void |
CredentialsManagement.changePassword(JetspeedUser user,
java.lang.String oldPassword,
java.lang.String newPassword)
Allows for a user to change their own password. |
void |
CredentialsManagement.forcePassword(JetspeedUser user,
java.lang.String password)
Forcibly sets new password for a User. |
java.lang.String |
CredentialsManagement.encryptPassword(java.lang.String password)
This method provides client-side encryption of passwords. |
Uses of JetspeedSecurityException in org.apache.jetspeed.services.security.ldap |
Methods in org.apache.jetspeed.services.security.ldap that throw JetspeedSecurityException | |
JetspeedUser |
LDAPUserManagement.getUser(java.security.Principal principal)
Retrieves a JetspeedUser given the primary principle. |
java.util.Iterator |
LDAPUserManagement.getUsers()
Retrieves a collection of all JetspeedUser s. |
java.util.Iterator |
LDAPUserManagement.getUsers(java.lang.String filter)
Retrieves a collection of JetspeedUser s filtered by a security
provider-specific query string. |
protected java.util.Iterator |
LDAPUserManagement.getUsersUsingLDAPSpecificFilter(java.lang.String filter,
java.lang.String[] attributesToFetch)
Retrieves a collection of JetspeedUser s filtered by a security
provider-specific query string. |
void |
LDAPUserManagement.saveUser(JetspeedUser user)
Saves a JetspeedUser 's attributes into permanent storage. |
void |
LDAPUserManagement.addUser(JetspeedUser user)
Adds a JetspeedUser into permanent storage. |
protected void |
LDAPUserManagement.addDefaultPSML(JetspeedUser user)
|
void |
LDAPUserManagement.removeUser(java.security.Principal principal)
Removes a JetspeedUser from the permanent store. |
void |
LDAPUserManagement.changePassword(JetspeedUser user,
java.lang.String oldPassword,
java.lang.String newPassword)
Allows for a user to change their own password. |
void |
LDAPUserManagement.forcePassword(JetspeedUser user,
java.lang.String password)
Forcibly sets new password for a User. |
java.lang.String |
LDAPUserManagement.encryptPassword(java.lang.String password)
This method provides client-side encryption of passwords. |
java.util.Iterator |
LDAPRoleManagement.getRoles(java.lang.String username)
Retrieves all Role s for a given username principal. |
java.util.Iterator |
LDAPRoleManagement.getRoles()
Retrieves all Role s. |
void |
LDAPRoleManagement.addRole(Role role)
Adds a Role into permanent storage. |
void |
LDAPRoleManagement.saveRole(Role role)
Saves a Role into permanent storage. |
void |
LDAPRoleManagement.removeRole(java.lang.String roleName)
Removes a Role from the permanent store. |
void |
LDAPRoleManagement.grantRole(java.lang.String username,
java.lang.String roleName)
Grants a role to a user. |
void |
LDAPRoleManagement.grantRole(java.lang.String username,
java.lang.String roleName,
java.lang.String groupName)
|
void |
LDAPRoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename)
Revokes a role from a user. |
void |
LDAPRoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
boolean |
LDAPRoleManagement.hasRole(java.lang.String username,
java.lang.String roleName)
Checks for the relationship of user has a role. |
boolean |
LDAPRoleManagement.hasRole(java.lang.String username,
java.lang.String roleName,
java.lang.String groupName)
|
Role |
LDAPRoleManagement.getRole(java.lang.String roleName)
Retrieves a single Role for a given roleName principal. |
java.util.Iterator |
LDAPPermissionManagement.getPermissions(java.lang.String roleName)
Retrieves all Permission s for a given roleName principal. |
java.util.Iterator |
LDAPPermissionManagement.getPermissions()
Retrieves all Permission s. |
void |
LDAPPermissionManagement.addPermission(Permission permission)
Adds a Permission into permanent storage. |
void |
LDAPPermissionManagement.savePermission(Permission permission)
Saves a Permission into permanent storage. |
void |
LDAPPermissionManagement.removePermission(java.lang.String permissionName)
Removes a Permission from the permanent store. |
void |
LDAPPermissionManagement.grantPermission(java.lang.String roleName,
java.lang.String permissionName)
Grants a permission to a role. |
void |
LDAPPermissionManagement.revokePermission(java.lang.String roleName,
java.lang.String permissionName)
Revokes a permission from a role. |
boolean |
LDAPPermissionManagement.hasPermission(java.lang.String roleName,
java.lang.String permissionName)
Checks for the relationship of role has a permission. |
Permission |
LDAPPermissionManagement.getPermission(java.lang.String permissionName)
Retrieves a single Permission for a given permissionName principal. |
java.util.Iterator |
LDAPGroupManagement.getGroups(java.lang.String username)
Retrieves all Group s for a given username principal. |
java.util.Iterator |
LDAPGroupManagement.getGroups()
Retrieves all Group s. |
void |
LDAPGroupManagement.addGroup(Group group)
Adds a Group into permanent storage. |
void |
LDAPGroupManagement.saveGroup(Group group)
Saves a Group into permanent storage. |
void |
LDAPGroupManagement.removeGroup(java.lang.String groupname)
Removes a Group from the permanent store. |
void |
LDAPGroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname)
Join a user to a group. |
void |
LDAPGroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Join a user to a group - specific role. |
void |
LDAPGroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupName)
Unjoin a user from a group. |
void |
LDAPGroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupName,
java.lang.String rolename)
Unjoin a user from a group in which the user has a specific role. |
boolean |
LDAPGroupManagement.inGroup(java.lang.String username,
java.lang.String groupname)
Checks for the relationship of user in a group. |
Group |
LDAPGroupManagement.getGroup(java.lang.String groupname)
Retrieves a single Group for a given groupname principal. |
java.util.HashMap |
LDAPGroupManagement.getTurbineGroupRole(java.lang.String username)
Retrieves a hashtable which associates Groups with Roles for a given username principal. |
Uses of JetspeedSecurityException in org.apache.jetspeed.services.security.nosecurity |
Methods in org.apache.jetspeed.services.security.nosecurity that throw JetspeedSecurityException | |
JetspeedUser |
NoUserManagement.getUser(java.security.Principal principal)
Retrieves a JetspeedUser given the primary principle. |
java.util.Iterator |
NoUserManagement.getUsers()
Retrieves a collection of all JetspeedUser s. |
java.util.Iterator |
NoUserManagement.getUsers(java.lang.String filter)
Retrieves a collection of JetspeedUser s filtered by a security
provider-specific query string. |
void |
NoUserManagement.saveUser(JetspeedUser user)
Saves a JetspeedUser 's attributes into permanent storage. |
void |
NoUserManagement.addUser(JetspeedUser user)
Adds a JetspeedUser into permanent storage. |
void |
NoUserManagement.removeUser(java.security.Principal principal)
Removes a JetspeedUser from the permanent store. |
void |
NoUserManagement.changePassword(JetspeedUser user,
java.lang.String oldPassword,
java.lang.String newPassword)
Allows for a user to change their own password. |
void |
NoUserManagement.forcePassword(JetspeedUser user,
java.lang.String password)
Forcibly sets new password for a User. |
java.lang.String |
NoUserManagement.encryptPassword(java.lang.String password)
This method provides client-side encryption of passwords. |
java.util.Iterator |
NoRoleManagement.getRoles(java.lang.String username)
Retrieves all GroupRole s for a given username principal. |
java.util.Iterator |
NoRoleManagement.getRoles()
Retrieves all Role s. |
void |
NoRoleManagement.addRole(Role role)
Adds a Role into permanent storage. |
void |
NoRoleManagement.saveRole(Role role)
Saves a Role into permanent storage. |
void |
NoRoleManagement.removeRole(java.lang.String rolename)
Removes a Role from the permanent store. |
void |
NoRoleManagement.grantRole(java.lang.String username,
java.lang.String rolename)
Grants a role to a user. |
void |
NoRoleManagement.grantRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
void |
NoRoleManagement.grantGroupRole(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Grants a role to a user for a specific group. |
void |
NoRoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename)
Revokes a role from a user. |
void |
NoRoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
Revokes a role from a user for a specific group. |
boolean |
NoRoleManagement.hasRole(java.lang.String username,
java.lang.String rolename)
Checks for the relationship of user has a role. |
boolean |
NoRoleManagement.hasRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
Role |
NoRoleManagement.getRole(java.lang.String rolename)
Retrieves a single Role for a given rolename principal. |
java.util.Iterator |
NoPermissionManagement.getPermissions(java.lang.String rolename)
Retrieves all Permission s for a given rolename principal. |
java.util.Iterator |
NoPermissionManagement.getPermissions()
Retrieves all Permission s. |
void |
NoPermissionManagement.addPermission(Permission permission)
Adds a Permission into permanent storage. |
void |
NoPermissionManagement.savePermission(Permission permission)
Saves a Permission into permanent storage. |
void |
NoPermissionManagement.removePermission(java.lang.String permissionName)
Removes a Permission from the permanent store. |
void |
NoPermissionManagement.grantPermission(java.lang.String roleName,
java.lang.String permissionName)
Grants a permission to a role. |
void |
NoPermissionManagement.revokePermission(java.lang.String roleName,
java.lang.String permissionName)
Revokes a permission from a role. |
boolean |
NoPermissionManagement.hasPermission(java.lang.String roleName,
java.lang.String permissionName)
Checks for the relationship of role has a permission. |
Permission |
NoPermissionManagement.getPermission(java.lang.String permissionName)
Retrieves a single Permission for a given permissionName principal. |
java.util.Iterator |
NoGroupManagement.getGroups(java.lang.String username)
Retrieves all Group s for a given username principal. |
java.util.Iterator |
NoGroupManagement.getGroups()
Retrieves all Group s. |
void |
NoGroupManagement.addGroup(Group group)
Adds a Group into permanent storage. |
void |
NoGroupManagement.saveGroup(Group group)
Saves a Group into permanent storage. |
void |
NoGroupManagement.removeGroup(java.lang.String groupname)
Removes a Group from the permanent store. |
void |
NoGroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname)
Joins a user to a group. |
void |
NoGroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Join a user to a group - specific role. |
void |
NoGroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupname)
Unjoins a user from a group. |
void |
NoGroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Unjoin a user from a group in which the user has a specific role instead of JetspeedSecurity.getRole(defaultRole)
The security service may optionally check the current user context
to determine if the requestor has permission to perform this action. |
boolean |
NoGroupManagement.inGroup(java.lang.String username,
java.lang.String groupname)
Checks for the relationship of user in a group. |
Group |
NoGroupManagement.getGroup(java.lang.String groupname)
Retrieves a single Group for a given groupname principal. |
java.util.HashMap |
NoGroupManagement.getTurbineGroupRole(java.lang.String username)
Retrieves a hashtable which associates Groups with Roles for a given username principal. |
Uses of JetspeedSecurityException in org.apache.jetspeed.services.security.turbine |
Methods in org.apache.jetspeed.services.security.turbine that throw JetspeedSecurityException | |
JetspeedUser |
TurbineUserManagement.getUser(java.security.Principal principal)
Retrieves a JetspeedUser given the primary principle. |
java.util.Iterator |
TurbineUserManagement.getUsers()
Retrieves a collection of all JetspeedUser s. |
java.util.Iterator |
TurbineUserManagement.getUsers(java.lang.String filter)
Retrieves a collection of JetspeedUser s filtered by a security
provider-specific query string. |
void |
TurbineUserManagement.saveUser(JetspeedUser user)
Saves a JetspeedUser 's attributes into permanent storage. |
void |
TurbineUserManagement.addUser(JetspeedUser user)
Adds a JetspeedUser into permanent storage. |
protected void |
TurbineUserManagement.addDefaultPSML(JetspeedUser user)
|
void |
TurbineUserManagement.removeUser(java.security.Principal principal)
Removes a JetspeedUser from the permanent store. |
void |
TurbineUserManagement.changePassword(JetspeedUser user,
java.lang.String oldPassword,
java.lang.String newPassword)
Allows for a user to change their own password. |
void |
TurbineUserManagement.forcePassword(JetspeedUser user,
java.lang.String password)
Forcibly sets new password for a User. |
java.lang.String |
TurbineUserManagement.encryptPassword(java.lang.String password)
This method provides client-side encryption of passwords. |
java.util.Iterator |
TurbineRoleManagement.getRoles(java.lang.String username)
Retrieves all Role s for a given username principal. |
java.util.Iterator |
TurbineRoleManagement.getRoles()
Retrieves all Role s. |
void |
TurbineRoleManagement.addRole(Role role)
Adds a Role into permanent storage. |
void |
TurbineRoleManagement.saveRole(Role role)
Saves a Role into permanent storage. |
void |
TurbineRoleManagement.removeRole(java.lang.String rolename)
Removes a Role from the permanent store. |
void |
TurbineRoleManagement.grantRole(java.lang.String username,
java.lang.String rolename)
Grants a role to a user. |
void |
TurbineRoleManagement.grantRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
void |
TurbineRoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename)
Revokes a role from a user. |
void |
TurbineRoleManagement.revokeRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
boolean |
TurbineRoleManagement.hasRole(java.lang.String username,
java.lang.String rolename)
Checks for the relationship of user has a role. |
boolean |
TurbineRoleManagement.hasRole(java.lang.String username,
java.lang.String rolename,
java.lang.String groupname)
|
Role |
TurbineRoleManagement.getRole(java.lang.String rolename)
Retrieves a single Role for a given rolename principal. |
java.util.Iterator |
TurbinePermissionManagement.getPermissions(java.lang.String rolename)
Retrieves all Permission s for a given rolename principal. |
java.util.Iterator |
TurbinePermissionManagement.getPermissions()
Retrieves all Permission s. |
void |
TurbinePermissionManagement.addPermission(Permission permission)
Adds a Permission into permanent storage. |
void |
TurbinePermissionManagement.savePermission(Permission permission)
Saves a Permission into permanent storage. |
void |
TurbinePermissionManagement.removePermission(java.lang.String permissionName)
Removes a Permission from the permanent store. |
void |
TurbinePermissionManagement.grantPermission(java.lang.String roleName,
java.lang.String permissionName)
Grants a permission to a role. |
void |
TurbinePermissionManagement.revokePermission(java.lang.String roleName,
java.lang.String permissionName)
Revokes a permission from a role. |
boolean |
TurbinePermissionManagement.hasPermission(java.lang.String roleName,
java.lang.String permissionName)
Checks for the relationship of role has a permission. |
Permission |
TurbinePermissionManagement.getPermission(java.lang.String permissionName)
Retrieves a single Permission for a given permissionName principal. |
java.util.Iterator |
TurbineGroupManagement.getGroups(java.lang.String username)
Retrieves all Group s for a given username principal. |
java.util.Iterator |
TurbineGroupManagement.getGroups()
Retrieves all Group s. |
void |
TurbineGroupManagement.addGroup(Group group)
Adds a Group into permanent storage. |
void |
TurbineGroupManagement.saveGroup(Group group)
Saves a Group into permanent storage. |
void |
TurbineGroupManagement.removeGroup(java.lang.String groupname)
Removes a Group from the permanent store. |
void |
TurbineGroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname)
Join a user to a group. |
void |
TurbineGroupManagement.joinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Join a user to a group - specific role. |
void |
TurbineGroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupname)
Unjoin a user from a group. |
void |
TurbineGroupManagement.unjoinGroup(java.lang.String username,
java.lang.String groupname,
java.lang.String rolename)
Unjoin a user from a group in which the user has a specific role instead of JetspeedSecurity.getRole(defaultRole)
The security service may optionally check the current user context
to determine if the requestor has permission to perform this action. |
boolean |
TurbineGroupManagement.inGroup(java.lang.String username,
java.lang.String groupname)
Checks for the relationship of user in a group. |
Group |
TurbineGroupManagement.getGroup(java.lang.String groupname)
Retrieves a single Group for a given groupname principal. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |