Uses of Interface
org.owasp.esapi.User
-
Packages that use User Package Description org.owasp.esapi The ESAPI interfaces andExceptionclasses model the most important security functions to enterprise web applications.org.owasp.esapi.reference This package contains reference implementations of the ESAPI interfaces. -
-
Uses of User in org.owasp.esapi
Fields in org.owasp.esapi declared as User Modifier and Type Field Description static UserUser. ANONYMOUSThe ANONYMOUS user is used to represent an unidentified user.Methods in org.owasp.esapi that return User Modifier and Type Method Description UserAuthenticator. createUser(java.lang.String accountName, java.lang.String password1, java.lang.String password2)Creates a new User with the information provided.UserAuthenticator. getCurrentUser()Returns the currently logged in User.UserAuthenticator. getUser(long accountId)Returns the User matching the provided accountId.UserAuthenticator. getUser(java.lang.String accountName)Returns the User matching the provided accountName.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.Methods in org.owasp.esapi with parameters of type User Modifier and Type Method Description voidAuthenticator. changePassword(User user, java.lang.String currentPassword, java.lang.String newPassword, java.lang.String newPassword2)Changes the password for the specified user.java.lang.StringAuthenticator. generateStrongPassword(User user, java.lang.String oldPassword)Generate strong password that takes into account the user's information and old password.voidAuthenticator. setCurrentUser(User user)Sets the currently logged in User.booleanAuthenticator. verifyPassword(User user, java.lang.String password)Verify that the supplied password matches the password for this user.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 User in org.owasp.esapi.reference
Classes in org.owasp.esapi.reference that implement User Modifier and Type Class Description classDefaultUserReference implementation of the User interface.Methods in org.owasp.esapi.reference that return User Modifier and Type Method Description UserFileBasedAuthenticator. createUser(java.lang.String accountName, java.lang.String password1, java.lang.String password2)Creates a new User with the information provided.UserAbstractAuthenticator. getCurrentUser()Returns the currently logged in User.UserFileBasedAuthenticator. getUser(long accountId)Returns the User matching the provided accountId.UserFileBasedAuthenticator. getUser(java.lang.String accountName)Returns the User matching the provided accountName.protected UserAbstractAuthenticator. getUserFromSession()Gets the user from session.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.Methods in org.owasp.esapi.reference with parameters of type User Modifier and Type Method Description voidFileBasedAuthenticator. changePassword(User user, java.lang.String currentPassword, java.lang.String newPassword, java.lang.String newPassword2)Changes the password for the specified user.java.lang.StringFileBasedAuthenticator. generateStrongPassword(User user, java.lang.String oldPassword)Generate strong password that takes into account the user's information and old password.voidAbstractAuthenticator. setCurrentUser(User user)Sets the currently logged in User.booleanFileBasedAuthenticator. verifyPassword(User user, java.lang.String password)Verify that the supplied password matches the password for this user.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.
-