1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.login;
18
19
20 /***
21 * LoginConstants
22 *
23 * @author <a href="mailto:ate@douma.nu">Ate Douma</a>
24 * @version $Id: LoginConstants.java 544402 2007-06-05 06:20:00Z taylor $
25 */
26 public final class LoginConstants
27 {
28 public final static String USERNAME = "org.apache.jetspeed.login.username";
29 public final static String PASSWORD = "org.apache.jetspeed.login.password";
30 public final static String DESTINATION = "org.apache.jetspeed.login.destination";
31 public final static String RETRYCOUNT = "org.apache.jetspeed.login.retrycount";
32 public final static String ERRORCODE = "org.apache.jetspeed.login.errorcode";
33 public final static String LOGIN_CHECK = "org.apache.jetspeed.login.check";
34
35 public final static Integer ERROR_UNKNOWN_USER = new Integer(1);
36 public final static Integer ERROR_INVALID_PASSWORD = new Integer(2);
37 public final static Integer ERROR_USER_DISABLED = new Integer(3);
38 public final static Integer ERROR_FINAL_LOGIN_ATTEMPT = new Integer(4);
39 public final static Integer ERROR_CREDENTIAL_DISABLED = new Integer(5);
40 public final static Integer ERROR_CREDENTIAL_EXPIRED = new Integer(6);
41 }