Uses of Class
org.apache.jetspeed.security.SecurityException

Packages that use SecurityException
org.apache.jetspeed.layout.impl   
org.apache.jetspeed.security Jetspeed security service interfaces. 
org.apache.jetspeed.security.impl Jetspeed security service implementation including Jetspeed JAAS providers. 
org.apache.jetspeed.security.spi   
org.apache.jetspeed.security.spi.impl   
org.apache.jetspeed.security.spi.impl.ldap   
org.apache.jetspeed.security.util   
 

Uses of SecurityException in org.apache.jetspeed.layout.impl
 

Methods in org.apache.jetspeed.layout.impl that throw SecurityException
protected  int SecurityPermissionAction.updateRoles(java.security.Permission permission, java.lang.String roleNames)
           
 

Uses of SecurityException in org.apache.jetspeed.security
 

Subclasses of SecurityException in org.apache.jetspeed.security
 class InvalidDnException
          Exception thrown when the distinguished name is invalid.
 class InvalidNewPasswordException
          Exception thrown when supplied new password is invalid.
 class InvalidPasswordException
          Exception thrown when supplied password is invalid.
 class InvalidUidException
          Exception thrown when the uid is invalid.
 class PasswordAlreadyUsedException
          Exception thrown when supplied password has been used before.
 

Methods in org.apache.jetspeed.security that throw SecurityException
 void GroupManager.addGroup(java.lang.String groupFullPathName)
           Add a new group.
 void PermissionManager.addPermission(java.security.Permission permission)
           Adds a permission definition.
 void RoleManager.addRole(java.lang.String roleFullPathName)
          Add a new role.
 void RoleManager.addRoleToGroup(java.lang.String roleFullPathName, java.lang.String groupFullPathName)
          Add a role to a group.
 void RoleManager.addRoleToUser(java.lang.String username, java.lang.String roleFullPathName)
          Add a role to a user.
 void UserManager.addUser(java.lang.String username, java.lang.String password)
           Add a new user provided a username and password.
 void UserManager.addUser(java.lang.String username, java.lang.String password, java.lang.String atnProviderName)
           Add a new user provided a username and password in the specified authentication provider store.
 void AuthenticationProviderProxy.addUserPrincipal(UserPrincipal userPrincipal, java.lang.String authenticationProvider)
           Adds a new user principal in a given authentication provider.
 void GroupManager.addUserToGroup(java.lang.String username, java.lang.String groupFullPathName)
           Add a user to a group.
 boolean AuthenticationProviderProxy.authenticate(java.lang.String userName, java.lang.String password, java.lang.String authenticationProvider)
           Authenticate a user in a given authentication provider
 java.lang.String PasswordEncodingService.decode(java.lang.String userName, java.lang.String encodedPassword)
           
 java.lang.String PasswordEncodingService.encode(java.lang.String userName, java.lang.String clearTextPassword)
           
 Group GroupManager.getGroup(java.lang.String groupFullPathName)
           Get a group Groupfor a given group full path name.
 java.util.Iterator GroupManager.getGroups(java.lang.String filter)
          Get all groups available from all group handlers
 java.util.Collection GroupManager.getGroupsForUser(java.lang.String username)
           A collection of Groupfor all the groups associated to a specific user.
 java.util.Collection GroupManager.getGroupsInRole(java.lang.String roleFullPathName)
           A collection of Groupfor all the groups in a specific role.
 Role RoleManager.getRole(java.lang.String roleFullPathName)
          Get a role Role for a given role full path name.
 java.util.Iterator RoleManager.getRoles(java.lang.String filter)
          Get all roles available from all role handlers
 java.util.Collection RoleManager.getRolesForUser(java.lang.String username)
          A collection of Role for all the roles associated to a specific user.
 java.util.Collection RoleManager.getRolesInGroup(java.lang.String groupFullPathName)
          A collection of Role for all the roles associated to a specific group.
 User UserManager.getUser(java.lang.String username)
           Get a Userfor a given username.
 java.util.Iterator UserManager.getUserNames(java.lang.String filter)
           An iterator of user names, finding users matching the corresponding filter criteria.
 java.util.Iterator UserManager.getUsers(java.lang.String filter)
           An iterator of Userfinding users matching the corresponding filter criteria.
 java.util.Collection UserManager.getUsersInGroup(java.lang.String groupFullPathName)
          A collection of User for a specific group.
 java.util.Collection UserManager.getUsersInRole(java.lang.String roleFullPathName)
           A collection of Userfor all the users in a specific role.
 void PermissionManager.grantPermission(java.security.Principal principal, java.security.Permission permission)
           Grant a Permissionto a given Principal.
 void AuthenticationProviderProxy.importPassword(java.lang.String userName, java.lang.String newPassword)
           Adds or updates a private password credentialin a given authentication provider.
Note that there is no checking of the oldPassword and the provided password is assumed to be encoded.
 void AuthenticationProviderProxy.importPassword(java.lang.String userName, java.lang.String newPassword, java.lang.String authenticationProvider)
           Adds or updates a private password credentialin a given authentication provider.
Note that there is no checking of the oldPassword and the provided password is assumed to be encoded.
 void UserManager.importUser(java.lang.String username, java.lang.String password, boolean passThrough)
           Import a new user with username and password and allow to bypass the enconding algorithm
 void UserManager.importUser(java.lang.String username, java.lang.String password, java.lang.String atnProviderName, boolean passThrough)
           Import a new user with username and password in the specified authentication provider store and allow to bypass the enconding algorithm
 boolean RoleManager.isGroupInRole(java.lang.String groupFullPathName, java.lang.String roleFullPathName)
          Whether or not a role is in a group.
 boolean GroupManager.isUserInGroup(java.lang.String username, java.lang.String groupFullPathName)
           Whether or not a user is in a group.
 boolean RoleManager.isUserInRole(java.lang.String username, java.lang.String roleFullPathName)
          Whether or not a user is in a role.
 void GroupManager.removeGroup(java.lang.String groupFullPathName)
           Remove a group.
 void PermissionManager.removePermission(java.security.Permission permission)
           Remove all instances of a given permission.
 void PermissionManager.removePermissions(java.security.Principal principal)
           Remove all permissions for a given principal.
 void RoleManager.removeRole(java.lang.String roleFullPathName)
          Remove a given role and all the children of that role.
 void RoleManager.removeRoleFromGroup(java.lang.String roleFullPathName, java.lang.String groupFullPathName)
          Remove a role from a group.
 void RoleManager.removeRoleFromUser(java.lang.String username, java.lang.String roleFullPathName)
          Remove a user from a role.
 void UserManager.removeUser(java.lang.String username)
           Remove a user.
 void GroupManager.removeUserFromGroup(java.lang.String username, java.lang.String groupFullPathName)
           Remove a user from a group.
 void AuthenticationProviderProxy.removeUserPrincipal(UserPrincipal userPrincipal, java.lang.String authenticationProvider)
           Remove user principal in a given authentication provider.
 void PermissionManager.revokePermission(java.security.Principal principal, java.security.Permission permission)
           Revoke a Permissionfrom a given Principal.
 void GroupManager.setGroupEnabled(java.lang.String groupFullPathName, boolean enabled)
          Enable or disable a group.
 void UserManager.setPassword(java.lang.String username, java.lang.String oldPassword, java.lang.String newPassword)
           Set the user password.
 void AuthenticationProviderProxy.setPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword, java.lang.String authenticationProvider)
           Adds or updates a private password credential in a given authentication provider.
If oldPassword is not null, the oldPassword will first be checked (authenticated).
 void UserManager.setPasswordEnabled(java.lang.String userName, boolean enabled)
           Set the enabled state of the user password credential.
 void AuthenticationProviderProxy.setPasswordEnabled(java.lang.String userName, boolean enabled, java.lang.String authenticationProvider)
           Set the enabled state of the user password credential in a given authentication provider.
 void UserManager.setPasswordExpiration(java.lang.String userName, java.sql.Date expirationDate)
           Set the expiration date and the expired flag of the password credential.
 void AuthenticationProviderProxy.setPasswordExpiration(java.lang.String userName, java.sql.Date expirationDate, java.lang.String authenticationProvider)
           Set the expiration date and the expired flag of the password credential in a given authentication provider
 void UserManager.setPasswordUpdateRequired(java.lang.String userName, boolean updateRequired)
           Set the update required state of the user password credential.
 void AuthenticationProviderProxy.setPasswordUpdateRequired(java.lang.String userName, boolean updateRequired, java.lang.String authenticationProvider)
           Set the update required state of the user password credential in a given authentication provider.
 void RoleManager.setRoleEnabled(java.lang.String roleFullPathName, boolean enabled)
          Enable or disable a role.
 void UserManager.setUserEnabled(java.lang.String userName, boolean enabled)
          Enable or disable a user.
 int PermissionManager.updatePermission(java.security.Permission permission, java.util.Collection principals)
          Update the collection of principals on the given principal, appropriately granting or revoking principals to the given permission.
 void AuthenticationProviderProxy.updateUserPrincipal(UserPrincipal userPrincipal, java.lang.String authenticationProvider)
           Updates user principal in a given authentication provider.
 

Uses of SecurityException in org.apache.jetspeed.security.impl
 

Methods in org.apache.jetspeed.security.impl that throw SecurityException
 void GroupManagerImpl.addGroup(java.lang.String groupFullPathName)
           
 void PermissionManagerImpl.addPermission(java.security.Permission permission)
           
 void RoleManagerImpl.addRole(java.lang.String roleFullPathName)
           
 void RoleManagerImpl.addRoleToGroup(java.lang.String roleFullPathName, java.lang.String groupFullPathName)
           
 void RoleManagerImpl.addRoleToUser(java.lang.String username, java.lang.String roleFullPathName)
           
 void UserManagerImpl.addUser(java.lang.String username, java.lang.String password)
           
 void UserManagerImpl.addUser(java.lang.String username, java.lang.String password, java.lang.String atnProviderName)
           
 void AuthenticationProviderProxyImpl.addUserPrincipal(UserPrincipal userPrincipal)
           
 void AuthenticationProviderProxyImpl.addUserPrincipal(UserPrincipal userPrincipal, java.lang.String authenticationProvider)
           
 void GroupManagerImpl.addUserToGroup(java.lang.String username, java.lang.String groupFullPathName)
           
 boolean AuthenticationProviderProxyImpl.authenticate(java.lang.String userName, java.lang.String password)
           
 boolean AuthenticationProviderProxyImpl.authenticate(java.lang.String userName, java.lang.String password, java.lang.String authenticationProvider)
           
protected  void UserManagerImpl.createUser(java.lang.String username, java.lang.String password, java.lang.String atnProviderName, boolean raw)
           
 java.lang.String Jetspeed1CredentialPasswordEncoder.encode(java.lang.String userName, java.lang.String clearTextPassword)
           
 Group GroupManagerImpl.getGroup(java.lang.String groupFullPathName)
           
 java.util.Iterator GroupManagerImpl.getGroups(java.lang.String filter)
           
 java.util.Collection GroupManagerImpl.getGroupsForUser(java.lang.String username)
           
 java.util.Collection GroupManagerImpl.getGroupsInRole(java.lang.String roleFullPathName)
           
 Role RoleManagerImpl.getRole(java.lang.String roleFullPathName)
           
 java.util.Iterator RoleManagerImpl.getRoles(java.lang.String filter)
           
 java.util.Collection RoleManagerImpl.getRolesForUser(java.lang.String username)
           
 java.util.Collection RoleManagerImpl.getRolesInGroup(java.lang.String groupFullPathName)
           
 User UserManagerImpl.getUser(java.lang.String username)
           
 java.util.Iterator UserManagerImpl.getUserNames(java.lang.String filter)
           
 java.util.Iterator UserManagerImpl.getUsers(java.lang.String filter)
           
 java.util.Collection UserManagerImpl.getUsersInGroup(java.lang.String groupFullPathName)
           
 java.util.Collection UserManagerImpl.getUsersInRole(java.lang.String roleFullPathName)
           
 void PermissionManagerImpl.grantPermission(java.security.Principal principal, java.security.Permission permission)
           
 void AuthenticationProviderProxyImpl.importPassword(java.lang.String userName, java.lang.String newPassword)
           
 void AuthenticationProviderProxyImpl.importPassword(java.lang.String userName, java.lang.String newPassword, java.lang.String authenticationProvider)
           
 void UserManagerImpl.importUser(java.lang.String username, java.lang.String password, boolean passThrough)
           
 void UserManagerImpl.importUser(java.lang.String username, java.lang.String password, java.lang.String atnProviderName, boolean passThrough)
           
 boolean RoleManagerImpl.isGroupInRole(java.lang.String groupFullPathName, java.lang.String roleFullPathName)
           
 boolean GroupManagerImpl.isUserInGroup(java.lang.String username, java.lang.String groupFullPathName)
           
 boolean RoleManagerImpl.isUserInRole(java.lang.String username, java.lang.String roleFullPathName)
           
 void GroupManagerImpl.removeGroup(java.lang.String groupFullPathName)
           
 void PermissionManagerImpl.removePermission(java.security.Permission permission)
           
 void PermissionManagerImpl.removePermissions(java.security.Principal principal)
           
 void RoleManagerImpl.removeRole(java.lang.String roleFullPathName)
           
 void RoleManagerImpl.removeRoleFromGroup(java.lang.String roleFullPathName, java.lang.String groupFullPathName)
           
 void RoleManagerImpl.removeRoleFromUser(java.lang.String username, java.lang.String roleFullPathName)
           
 void UserManagerImpl.removeUser(java.lang.String username)
           
 void GroupManagerImpl.removeUserFromGroup(java.lang.String username, java.lang.String groupFullPathName)
           
 void AuthenticationProviderProxyImpl.removeUserPrincipal(UserPrincipal userPrincipal)
           
 void AuthenticationProviderProxyImpl.removeUserPrincipal(UserPrincipal userPrincipal, java.lang.String authenticationProvider)
           
 void PermissionManagerImpl.revokePermission(java.security.Principal principal, java.security.Permission permission)
           
 void GroupManagerImpl.setGroupEnabled(java.lang.String groupFullPathName, boolean enabled)
           
 void UserManagerImpl.setPassword(java.lang.String username, java.lang.String oldPassword, java.lang.String newPassword)
           
 void AuthenticationProviderProxyImpl.setPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword)
           
 void AuthenticationProviderProxyImpl.setPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword, java.lang.String authenticationProvider)
           
 void UserManagerImpl.setPasswordEnabled(java.lang.String userName, boolean enabled)
           
 void AuthenticationProviderProxyImpl.setPasswordEnabled(java.lang.String userName, boolean enabled)
           
 void AuthenticationProviderProxyImpl.setPasswordEnabled(java.lang.String userName, boolean enabled, java.lang.String authenticationProvider)
           
 void UserManagerImpl.setPasswordExpiration(java.lang.String userName, java.sql.Date expirationDate)
           
 void AuthenticationProviderProxyImpl.setPasswordExpiration(java.lang.String userName, java.sql.Date expirationDate)
           
 void AuthenticationProviderProxyImpl.setPasswordExpiration(java.lang.String userName, java.sql.Date expirationDate, java.lang.String authenticationProvider)
           
 void UserManagerImpl.setPasswordUpdateRequired(java.lang.String userName, boolean updateRequired)
           
 void AuthenticationProviderProxyImpl.setPasswordUpdateRequired(java.lang.String userName, boolean updateRequired)
           
 void AuthenticationProviderProxyImpl.setPasswordUpdateRequired(java.lang.String userName, boolean updateRequired, java.lang.String authenticationProvider)
           
 void RoleManagerImpl.setRoleEnabled(java.lang.String roleFullPathName, boolean enabled)
           
 void UserManagerImpl.setUserEnabled(java.lang.String userName, boolean enabled)
           
 int PermissionManagerImpl.updatePermission(java.security.Permission permission, java.util.Collection principals)
           
 void AuthenticationProviderProxyImpl.updateUserPrincipal(UserPrincipal userPrincipal)
           
 void AuthenticationProviderProxyImpl.updateUserPrincipal(UserPrincipal userPrincipal, java.lang.String authenticationProvider)
           
 

Uses of SecurityException in org.apache.jetspeed.security.spi
 

Methods in org.apache.jetspeed.security.spi that throw SecurityException
 void UserSecurityHandler.addUserPrincipal(UserPrincipal userPrincipal)
           Adds a new user principal in the backing store.
 boolean InternalPasswordCredentialInterceptor.afterAuthenticated(InternalUserPrincipal internalUser, java.lang.String userName, InternalCredential credential, boolean authenticated)
           Invoked during authentication after the provided password is compared against the one retrieved from the InternalCredential.
 boolean InternalPasswordCredentialInterceptor.afterLoad(PasswordCredentialProvider pcProvider, java.lang.String userName, InternalCredential credential)
           Invoked after a password credential is loaded from the persistent store.
 boolean CredentialHandler.authenticate(java.lang.String userName, java.lang.String password)
           Authenticate a user.
 void InternalPasswordCredentialInterceptor.beforeCreate(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password)
           Invoked when the first password credential is to be saved for a user.
 void InternalPasswordCredentialInterceptor.beforeSetPassword(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password, boolean authenticated)
           Invoked when a new password value is to be saved for a user.
 PasswordCredential PasswordCredentialProvider.create(java.lang.String userName, InternalCredential credential)
           
 PasswordCredential PasswordCredentialProvider.create(java.lang.String userName, java.lang.String password)
           
 java.lang.String CredentialPasswordEncoder.encode(java.lang.String userName, java.lang.String clearTextPassword)
           
 java.lang.String AlgorithmUpgradeCredentialPasswordEncoder.encode(java.lang.String userName, java.lang.String clearTextPassword, InternalCredential credential)
           
 void CredentialHandler.importPassword(java.lang.String userName, java.lang.String newPassword)
           Adds or updates a private password credential.
Note that there is no checking of the oldPassword and the provided password is assumed to be encoded.
 void AlgorithmUpgradeCredentialPasswordEncoder.recodeIfNeeded(java.lang.String userName, java.lang.String clearTextPassword, InternalCredential credential)
           
 void GroupSecurityHandler.removeGroupPrincipal(GroupPrincipal groupPrincipal)
           Removes the group principal.
 void SecurityAccess.removeInternalGroupPrincipal(InternalGroupPrincipal internalGroup)
           Remove the given InternalGroupPrincipal.
 void SecurityAccess.removeInternalRolePrincipal(InternalRolePrincipal internalRole)
           Remove the given InternalRolePrincipal.
 void SecurityAccess.removeInternalUserPrincipal(InternalUserPrincipal internalUser)
           Remove the given InternalUserPrincipal.
 void RoleSecurityHandler.removeRolePrincipal(RolePrincipal rolePrincipal)
           Removes the role principal.
 void SecurityMappingHandler.removeRolePrincipalInGroup(java.lang.String groupFullPathName, java.lang.String roleFullPathName)
           Removes the role principal on a given user.
 void UserSecurityHandler.removeUserPrincipal(UserPrincipal userPrincipal)
           Removes the user principal.
 void SecurityMappingHandler.removeUserPrincipalInGroup(java.lang.String username, java.lang.String groupFullPathName)
           Removes the user principal from the given group.
 void SecurityMappingHandler.removeUserPrincipalInRole(java.lang.String username, java.lang.String roleFullPathName)
           Removes the role principal on a given user.
 void GroupSecurityHandler.setGroupPrincipal(GroupPrincipal groupPrincipal)
           Sets the group principal in the backing store.
 void SecurityAccess.setInternalGroupPrincipal(InternalGroupPrincipal internalGroup, boolean isMappingOnly)
           Sets the given InternalGroupPrincipal.
 void SecurityAccess.setInternalRolePrincipal(InternalRolePrincipal internalRole, boolean isMappingOnly)
           Sets the given InternalRolePrincipal.
 void SecurityAccess.setInternalUserPrincipal(InternalUserPrincipal internalUser, boolean isMappingOnly)
           Sets the given InternalUserPrincipal.
 void CredentialHandler.setPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword)
           Adds or updates a private password credential.
If oldPassword is not null, the oldPassword will first be checked (authenticated).
 void CredentialHandler.setPasswordEnabled(java.lang.String userName, boolean enabled)
           Set the enabled state of the user password credential.
 void CredentialHandler.setPasswordExpiration(java.lang.String userName, java.sql.Date expirationDate)
           Set the expiration date and the expired flag of the password credential.
 void CredentialHandler.setPasswordUpdateRequired(java.lang.String userName, boolean updateRequired)
           Set the update required state of the user password credential.
 void RoleSecurityHandler.setRolePrincipal(RolePrincipal rolePrincipal)
           Sets the role principal in the backing store.
 void SecurityMappingHandler.setRolePrincipalInGroup(java.lang.String groupFullPathName, java.lang.String roleFullPathName)
           Sets the role principal on a given user.
 void SecurityMappingHandler.setUserPrincipalInGroup(java.lang.String username, java.lang.String groupFullPathName)
           Sets the user principal in the given group.
 void SecurityMappingHandler.setUserPrincipalInRole(java.lang.String username, java.lang.String roleFullPathName)
           Sets the role principal on a given user.
 void UserSecurityHandler.updateUserPrincipal(UserPrincipal userPrincipal)
           Updates the user principal in the backing store.
 void CredentialPasswordValidator.validate(java.lang.String clearTextPassword)
           
 

Uses of SecurityException in org.apache.jetspeed.security.spi.impl
 

Methods in org.apache.jetspeed.security.spi.impl that throw SecurityException
 void DefaultUserSecurityHandler.addUserPrincipal(UserPrincipal userPrincipal)
           
 void LdapUserSecurityHandler.addUserPrincipal(UserPrincipal userPrincipal)
           
 boolean AbstractInternalPasswordCredentialInterceptorImpl.afterAuthenticated(InternalUserPrincipal internalUser, java.lang.String userName, InternalCredential credential, boolean authenticated)
           
 boolean PasswordExpirationInterceptor.afterAuthenticated(InternalUserPrincipal internalUser, java.lang.String userName, InternalCredential credential, boolean authenticated)
           
 boolean MaxPasswordAuthenticationFailuresInterceptor.afterAuthenticated(InternalUserPrincipal internalUser, java.lang.String userName, InternalCredential credential, boolean authenticated)
          Checks the current count of authentication failures when the credential is not expired and authentication failed.
 boolean InternalPasswordCredentialInterceptorsProxy.afterAuthenticated(InternalUserPrincipal internalUser, java.lang.String userName, InternalCredential credential, boolean authenticated)
           
 boolean ValidatePasswordOnLoadInterceptor.afterLoad(PasswordCredentialProvider pcProvider, java.lang.String userName, InternalCredential credential)
           
 boolean AbstractInternalPasswordCredentialInterceptorImpl.afterLoad(PasswordCredentialProvider pcProvider, java.lang.String userName, InternalCredential credential)
           
 boolean EncodePasswordOnFirstLoadInterceptor.afterLoad(PasswordCredentialProvider pcProvider, java.lang.String userName, InternalCredential credential)
           
 boolean PasswordExpirationInterceptor.afterLoad(PasswordCredentialProvider pcProvider, java.lang.String userName, InternalCredential credential)
           
 boolean InternalPasswordCredentialInterceptorsProxy.afterLoad(PasswordCredentialProvider pcProvider, java.lang.String userName, InternalCredential credential)
           
 boolean DefaultCredentialHandler.authenticate(java.lang.String userName, java.lang.String password)
           
 boolean LdapCredentialHandler.authenticate(java.lang.String uid, java.lang.String password)
           
 void AbstractInternalPasswordCredentialInterceptorImpl.beforeCreate(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password)
           
 void PasswordExpirationInterceptor.beforeCreate(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password)
          Calculates and sets the default expiration date and the expired flag to false
 void MaxPasswordAuthenticationFailuresInterceptor.beforeCreate(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password)
          Sets the count of invalid authentications to zero (0).
 void InternalPasswordCredentialInterceptorsProxy.beforeCreate(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password)
           
 void AbstractInternalPasswordCredentialInterceptorImpl.beforeSetPassword(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password, boolean authenticated)
           
 void PasswordExpirationInterceptor.beforeSetPassword(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password, boolean authenticated)
          Sets a new expiration date if a higher expiration date isn't set already and resets the expired flag
 void MaxPasswordAuthenticationFailuresInterceptor.beforeSetPassword(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password, boolean authenticated)
          Resets the count of invalid authentications to zero (0).
 void InternalPasswordCredentialInterceptorsProxy.beforeSetPassword(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password, boolean authenticated)
           
 void PasswordHistoryInterceptor.beforeSetPassword(InternalUserPrincipal internalUser, java.util.Collection credentials, java.lang.String userName, InternalCredential credential, java.lang.String password, boolean authenticated)
           
 PasswordCredential DefaultPasswordCredentialProvider.create(java.lang.String userName, InternalCredential credential)
           
 PasswordCredential DefaultPasswordCredentialProvider.create(java.lang.String userName, java.lang.String password)
           
 java.lang.String MessageDigestCredentialPasswordEncoder.encode(java.lang.String userName, java.lang.String clearTextPassword)
           
 java.lang.String AlgorithmUpgradePBEPasswordService.encode(java.lang.String userName, java.lang.String clearTextPassword, InternalCredential credential)
           
 void DefaultCredentialHandler.importPassword(java.lang.String userName, java.lang.String newPassword)
           
 void LdapCredentialHandler.importPassword(java.lang.String uid, java.lang.String newPassword)
           
 void AlgorithmUpgradePBEPasswordService.recodeIfNeeded(java.lang.String userName, java.lang.String clearTextPassword, InternalCredential credential)
           
 void LdapGroupSecurityHandler.removeGroupPrincipal(GroupPrincipal groupPrincipal)
           
 void DefaultGroupSecurityHandler.removeGroupPrincipal(GroupPrincipal groupPrincipal)
           
 void SecurityAccessImpl.removeInternalGroupPrincipal(InternalGroupPrincipal internalGroup)
           Remove the given InternalGroupPrincipal.
 void SecurityAccessImpl.removeInternalRolePrincipal(InternalRolePrincipal internalRole)
           Remove the given InternalRolePrincipal.
 void SecurityAccessImpl.removeInternalUserPrincipal(InternalUserPrincipal internalUser)
           Remove the given InternalUserPrincipal.
 void LdapRoleSecurityHandler.removeRolePrincipal(RolePrincipal rolePrincipal)
           
 void DefaultRoleSecurityHandler.removeRolePrincipal(RolePrincipal rolePrincipal)
           
 void LdapSecurityMappingHandler.removeRolePrincipalInGroup(java.lang.String groupFullPathName, java.lang.String roleFullPathName)
           
 void DefaultSecurityMappingHandler.removeRolePrincipalInGroup(java.lang.String groupFullPathName, java.lang.String roleFullPathName)
           
 void DefaultUserSecurityHandler.removeUserPrincipal(UserPrincipal userPrincipal)
           
 void LdapUserSecurityHandler.removeUserPrincipal(UserPrincipal userPrincipal)
           
 void LdapSecurityMappingHandler.removeUserPrincipalInGroup(java.lang.String username, java.lang.String groupFullPathName)
           
 void DefaultSecurityMappingHandler.removeUserPrincipalInGroup(java.lang.String username, java.lang.String groupFullPathName)
           
 void LdapSecurityMappingHandler.removeUserPrincipalInRole(java.lang.String username, java.lang.String roleFullPathName)
           
 void DefaultSecurityMappingHandler.removeUserPrincipalInRole(java.lang.String username, java.lang.String roleFullPathName)
           
 void LdapGroupSecurityHandler.setGroupPrincipal(GroupPrincipal groupPrincipal)
           
 void DefaultGroupSecurityHandler.setGroupPrincipal(GroupPrincipal groupPrincipal)
           
 void SecurityAccessImpl.setInternalGroupPrincipal(InternalGroupPrincipal internalGroup, boolean isMappingOnly)
           Sets the given InternalGroupPrincipal.
 void SecurityAccessImpl.setInternalRolePrincipal(InternalRolePrincipal internalRole, boolean isMappingOnly)
           Sets the given InternalRolePrincipal.
 void SecurityAccessImpl.setInternalUserPrincipal(InternalUserPrincipal internalUser, boolean isMappingOnly)
           Sets the given InternalUserPrincipal.
 void DefaultCredentialHandler.setPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword)
           
 void LdapCredentialHandler.setPassword(java.lang.String uid, java.lang.String oldPassword, java.lang.String newPassword)
           Adds or updates a private password credential.
protected  void DefaultCredentialHandler.setPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword, boolean raw)
           
 void DefaultCredentialHandler.setPasswordEnabled(java.lang.String userName, boolean enabled)
           
 void LdapCredentialHandler.setPasswordEnabled(java.lang.String userName, boolean enabled)
           
 void DefaultCredentialHandler.setPasswordExpiration(java.lang.String userName, java.sql.Date expirationDate)
           
 void LdapCredentialHandler.setPasswordExpiration(java.lang.String userName, java.sql.Date expirationDate)
           
 void DefaultCredentialHandler.setPasswordUpdateRequired(java.lang.String userName, boolean updateRequired)
           
 void LdapCredentialHandler.setPasswordUpdateRequired(java.lang.String userName, boolean updateRequired)
           
 void LdapRoleSecurityHandler.setRolePrincipal(RolePrincipal rolePrincipal)
           
 void DefaultRoleSecurityHandler.setRolePrincipal(RolePrincipal rolePrincipal)
           
 void LdapSecurityMappingHandler.setRolePrincipalInGroup(java.lang.String groupFullPathName, java.lang.String roleFullPathName)
           
 void DefaultSecurityMappingHandler.setRolePrincipalInGroup(java.lang.String groupFullPathName, java.lang.String roleFullPathName)
           
 void LdapSecurityMappingHandler.setUserPrincipalInGroup(java.lang.String username, java.lang.String groupFullPathName)
           
 void DefaultSecurityMappingHandler.setUserPrincipalInGroup(java.lang.String username, java.lang.String groupFullPathName)
           
 void LdapSecurityMappingHandler.setUserPrincipalInRole(java.lang.String username, java.lang.String roleFullPathName)
           
 void DefaultSecurityMappingHandler.setUserPrincipalInRole(java.lang.String username, java.lang.String roleFullPathName)
           
 void DefaultUserSecurityHandler.updateUserPrincipal(UserPrincipal userPrincipal)
           
 void LdapUserSecurityHandler.updateUserPrincipal(UserPrincipal userPrincipal)
           
 void SimpleCredentialPasswordValidator.validate(java.lang.String clearTextPassword)
           
 void DefaultCredentialPasswordValidator.validate(java.lang.String clearTextPassword)
           
 

Constructors in org.apache.jetspeed.security.spi.impl that throw SecurityException
LdapCredentialHandler()
           Default constructor.
LdapCredentialHandler(LdapUserCredentialDao ldap)
           Constructor given a LdapUserCredentialDao.
LdapGroupSecurityHandler()
           Default constructor.
LdapRoleSecurityHandler()
           Default constructor.
LdapSecurityMappingHandler()
           
LdapUserSecurityHandler()
           Default constructor.
 

Uses of SecurityException in org.apache.jetspeed.security.spi.impl.ldap
 

Methods in org.apache.jetspeed.security.spi.impl.ldap that throw SecurityException
 void LdapUserPrincipalDao.addGroup(java.lang.String userPrincipalUid, java.lang.String groupPrincipalUid)
           Add a user to a group.
 void LdapUserPrincipalDaoImpl.addGroup(java.lang.String userPrincipalUid, java.lang.String groupPrincipalUid)
           
 void LdapUserPrincipalDao.addRole(java.lang.String userPrincipalUid, java.lang.String rolePrincipalUid)
           Add a user to a group.
 void LdapUserPrincipalDaoImpl.addRole(java.lang.String userPrincipalUid, java.lang.String rolePrincipalUid)
           
 void LdapUserPrincipalDao.addRoleToGroup(java.lang.String groupPrincipalUid, java.lang.String rolePrincipalUid)
           Add a role to a group.
 void LdapUserPrincipalDaoImpl.addRoleToGroup(java.lang.String groupPrincipalUid, java.lang.String rolePrincipalUid)
           
 boolean LdapUserCredentialDao.authenticate(java.lang.String uid, java.lang.String password)
           Looks up the user by the UID attribute.
 boolean LdapUserCredentialDaoImpl.authenticate(java.lang.String uid, java.lang.String password)
           Looks up the user by the UID attribute.
protected  void AbstractLdapDao.bindToServer(java.lang.String rootDn, java.lang.String rootPassword)
           Binds to the ldap server.
 void LdapUserCredentialDao.changePassword(java.lang.String uid, java.lang.String password)
           Updates the password for the specified user.
 void LdapUserCredentialDaoImpl.changePassword(java.lang.String uid, java.lang.String password)
           Updates the password for the specified user.
 void LdapPrincipalDao.create(java.lang.String principalUid)
           Makes a new ldap entry for the specified principal.
 void LdapPrincipalDaoImpl.create(java.lang.String principalUid)
           
 void LdapPrincipalDao.delete(java.lang.String principalUid)
           Deletes a ldap entry for the specified principal.
 void LdapPrincipalDaoImpl.delete(java.lang.String principalUid)
           
 java.security.Principal[] LdapPrincipalDao.find(java.lang.String principalUid, java.lang.String principalType)
           Search the ldap directory for the principal.
 java.security.Principal[] LdapPrincipalDaoImpl.find(java.lang.String principalUid, java.lang.String principalType)
           
 java.lang.String[] LdapUserPrincipalDao.getGroupUidsForUser(java.lang.String userPrincipalUid)
           Return an array of the group principal UIDS that belong to a specific user.
 java.lang.String[] LdapUserPrincipalDaoImpl.getGroupUidsForUser(java.lang.String userPrincipalUid)
          Return the list of group IDs for a particular user
 char[] LdapUserCredentialDao.getPassword(java.lang.String uid)
           
 char[] LdapUserCredentialDaoImpl.getPassword(java.lang.String uid)
           
 java.lang.String[] LdapUserPrincipalDao.getRolesForGroup(java.lang.String groupPrincipalUid)
           Return an array of the role principal UIDS that belong to a specific group.
 java.lang.String[] LdapUserPrincipalDaoImpl.getRolesForGroup(java.lang.String groupPrincipalUid)
           Return an array of the roles that belong to a group.
 java.lang.String[] LdapUserPrincipalDao.getRoleUidsForUser(java.lang.String userPrincipalUid)
           Return an array of the role principal UIDS that belong to a specific user.
 java.lang.String[] LdapUserPrincipalDaoImpl.getRoleUidsForUser(java.lang.String userPrincipalUid)
          Returns the role IDs for a particular user Looks up the user, and extracts the rolemembership attr (ex : uniquemember)
 java.lang.String[] LdapUserPrincipalDao.getUserUidsForGroup(java.lang.String groupPrincipalUid)
           Return an array of the user principal uids that belong to a group.
 java.lang.String[] LdapUserPrincipalDaoImpl.getUserUidsForGroup(java.lang.String groupPrincipalUid)
           Return an array of the user principal UIDS that belong to a group.
 java.lang.String[] LdapUserPrincipalDao.getUserUidsForRole(java.lang.String rolePrincipalUid)
           Return an array of the user principal uids that belong to a role.
 java.lang.String[] LdapUserPrincipalDaoImpl.getUserUidsForRole(java.lang.String rolePrincipalUid)
           Return an array of the user principal UIDS that belong to a group.
 java.lang.String LdapReadOnlyPrincipalDao.lookupByUid(java.lang.String principalUid)
           Searches the LDAP server for the user with the specified principal id (uid attribute).
 java.lang.String AbstractLdapDao.lookupByUid(java.lang.String uid)
           Searches the LDAP server for the user with the specified userid (uid attribute).
 void LdapUserPrincipalDao.removeGroup(java.lang.String userPrincipalUid, java.lang.String groupPrincipalUid)
           Remove a user from a group.
 void LdapUserPrincipalDaoImpl.removeGroup(java.lang.String userPrincipalUid, java.lang.String groupPrincipalUid)
           
 void LdapUserPrincipalDao.removeRole(java.lang.String userPrincipalUid, java.lang.String rolePrincipalUid)
           Remove a user from a group.
 void LdapUserPrincipalDaoImpl.removeRole(java.lang.String userPrincipalUid, java.lang.String rolePrincipalUid)
           
 void LdapUserPrincipalDao.removeRoleFromGroup(java.lang.String groupPrincipalUid, java.lang.String rolePrincipalUid)
           Remove a role from a group.
 void LdapUserPrincipalDaoImpl.removeRoleFromGroup(java.lang.String groupPrincipalUid, java.lang.String rolePrincipalUid)
           
protected  void AbstractLdapDao.validateDn(java.lang.String dn)
           Validate the domain name.
protected  void AbstractLdapDao.validatePassword(java.lang.String password)
           Valiate the users password.
protected  void AbstractLdapDao.validateUid(java.lang.String uid)
           Validate the uid.
 

Constructors in org.apache.jetspeed.security.spi.impl.ldap that throw SecurityException
AbstractLdapDao(LdapBindingConfig ldapConfig)
           Initializes the dao.
InitLdapSchema()
           Default constructor.
InitLdapSchema(LdapBindingConfig ldapConfig)
           Initializes the LDAP schema.
LdapGroupDaoImpl()
           Default constructor.
LdapGroupDaoImpl(LdapBindingConfig ldapConfig)
           Initializes the dao.
LdapMemberShipDaoImpl()
           
LdapMemberShipDaoImpl(LdapBindingConfig config)
           
LdapPrincipalDaoImpl()
           Default constructor.
LdapPrincipalDaoImpl(LdapBindingConfig ldapConfig)
           Initializes the dao.
LdapRoleDaoImpl()
           Default constructor.
LdapRoleDaoImpl(LdapBindingConfig ldapConfig)
           Initializes the dao.
LdapUserCredentialDaoImpl()
           Default constructor.
LdapUserCredentialDaoImpl(LdapBindingConfig ldapConfig)
           Initializes the dao.
LdapUserPrincipalDaoImpl()
           Default constructor.
LdapUserPrincipalDaoImpl(LdapBindingConfig ldapConfig)
           Initializes the dao.
 

Uses of SecurityException in org.apache.jetspeed.security.util
 

Methods in org.apache.jetspeed.security.util that throw SecurityException
 java.lang.String PBEPasswordTool.decode(java.lang.String userName, java.lang.String encodedPassword)
           
 java.lang.String PBEPasswordTool.encode(java.lang.String userName, java.lang.String clearTextPassword)
           
 



Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.