Uses of Class
org.owasp.esapi.errors.AuthenticationException
-
Packages that use AuthenticationException Package Description org.owasp.esapi The ESAPI interfaces andExceptionclasses model the most important security functions to enterprise web applications.org.owasp.esapi.errors A set of exception classes designed to model the error conditions that frequently arise in enterprise web applications and web services.org.owasp.esapi.reference This package contains reference implementations of the ESAPI interfaces. -
-
Uses of AuthenticationException in org.owasp.esapi
Methods in org.owasp.esapi that throw AuthenticationException Modifier and Type Method Description voidUser. addRole(java.lang.String role)Adds a role to this user's account.voidUser. addRoles(java.util.Set<java.lang.String> newRoles)Adds a set of roles to this user's account.voidAuthenticator. changePassword(User user, java.lang.String currentPassword, java.lang.String newPassword, java.lang.String newPassword2)Changes the password for the specified user.voidUser. changePassword(java.lang.String oldPassword, java.lang.String newPassword1, java.lang.String newPassword2)Sets the user's password, performing a verification of the user's old password, the equality of the two new passwords, and the strength of the new password.javax.servlet.http.HttpSessionHTTPUtilities. changeSessionIdentifier()Calls changeSessionIdentifier with the *current* request.javax.servlet.http.HttpSessionHTTPUtilities. changeSessionIdentifier(javax.servlet.http.HttpServletRequest request)Invalidate the existing session after copying all of its contents to a newly created session with a new session id.UserAuthenticator. createUser(java.lang.String accountName, java.lang.String password1, java.lang.String password2)Creates a new User with the information provided.java.util.DateUser. getLastFailedLoginTime()Returns the date of the last failed login time for a user.UserAuthenticator. login()Calls login with the *current* request and response.UserAuthenticator. login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)This method should be called for every HTTP request, to login the current user either from the session of HTTP request.voidUser. loginWithPassword(java.lang.String password)Login with password.voidUser. removeRole(java.lang.String role)Removes a role from this user's account.voidAuthenticator. removeUser(java.lang.String accountName)Removes the account of the specified accountName.java.lang.StringUser. resetCSRFToken()Returns a token to be used as a prevention against CSRF attacks.voidUser. setRoles(java.util.Set<java.lang.String> roles)Sets the roles for this account.voidAuthenticator. verifyAccountNameStrength(java.lang.String accountName)Ensures that the account name passes site-specific complexity requirements, like minimum length.voidAuthenticator. verifyPasswordStrength(java.lang.String oldPassword, java.lang.String newPassword, User user)Ensures that the password meets site-specific complexity requirements, like length or number of character sets. -
Uses of AuthenticationException in org.owasp.esapi.errors
Subclasses of AuthenticationException in org.owasp.esapi.errors Modifier and Type Class Description classAuthenticationAccountsExceptionAn AuthenticationException should be thrown when anything goes wrong during login or logout.classAuthenticationCredentialsExceptionAn AuthenticationException should be thrown when anything goes wrong during login or logout.classAuthenticationHostExceptionAn AuthenticationHostException should be thrown when there is a problem with the host involved with authentication, particularly if the host changes unexpectedly.classAuthenticationLoginExceptionAn AuthenticationException should be thrown when anything goes wrong during login or logout. -
Uses of AuthenticationException in org.owasp.esapi.reference
Methods in org.owasp.esapi.reference that throw AuthenticationException Modifier and Type Method Description voidDefaultUser. addRole(java.lang.String role)Adds a role to this user's account.voidDefaultUser. addRoles(java.util.Set<java.lang.String> newRoles)Adds a set of roles to this user's account.voidDefaultUser. changePassword(java.lang.String oldPassword, java.lang.String newPassword1, java.lang.String newPassword2)Sets the user's password, performing a verification of the user's old password, the equality of the two new passwords, and the strength of the new password.voidFileBasedAuthenticator. changePassword(User user, java.lang.String currentPassword, java.lang.String newPassword, java.lang.String newPassword2)Changes the password for the specified user.javax.servlet.http.HttpSessionDefaultHTTPUtilities. changeSessionIdentifier()Calls changeSessionIdentifier with the *current* request.javax.servlet.http.HttpSessionDefaultHTTPUtilities. changeSessionIdentifier(javax.servlet.http.HttpServletRequest request)Invalidate the existing session after copying all of its contents to a newly created session with a new session id.UserFileBasedAuthenticator. createUser(java.lang.String accountName, java.lang.String password1, java.lang.String password2)Creates a new User with the information provided.UserAbstractAuthenticator. login()Calls login with the *current* request and response.UserAbstractAuthenticator. login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)This method should be called for every HTTP request, to login the current user either from the session of HTTP request.voidDefaultUser. loginWithPassword(java.lang.String password)Login with password.voidFileBasedAuthenticator. removeUser(java.lang.String accountName)Removes the account of the specified accountName.voidFileBasedAuthenticator. saveUsers()Saves the user database to the file system.voidDefaultUser. setRoles(java.util.Set<java.lang.String> roles)Sets the roles for this account.voidFileBasedAuthenticator. verifyAccountNameStrength(java.lang.String newAccountName)Ensures that the account name passes site-specific complexity requirements, like minimum length.voidFileBasedAuthenticator. verifyPasswordStrength(java.lang.String oldPassword, java.lang.String newPassword, User user)Ensures that the password meets site-specific complexity requirements, like length or number of character sets.
-