01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.jetspeed.login;
18:
19: /**
20: * LoginConstants
21: *
22: * @author <a href="mailto:ate@douma.nu">Ate Douma</a>
23: * @version $Id: LoginConstants.java 544402 2007-06-05 06:20:00Z taylor $
24: */
25: public final class LoginConstants {
26: public final static String USERNAME = "org.apache.jetspeed.login.username";
27: public final static String PASSWORD = "org.apache.jetspeed.login.password";
28: public final static String DESTINATION = "org.apache.jetspeed.login.destination";
29: public final static String RETRYCOUNT = "org.apache.jetspeed.login.retrycount";
30: public final static String ERRORCODE = "org.apache.jetspeed.login.errorcode";
31: public final static String LOGIN_CHECK = "org.apache.jetspeed.login.check";
32:
33: public final static Integer ERROR_UNKNOWN_USER = new Integer(1);
34: public final static Integer ERROR_INVALID_PASSWORD = new Integer(2);
35: public final static Integer ERROR_USER_DISABLED = new Integer(3);
36: public final static Integer ERROR_FINAL_LOGIN_ATTEMPT = new Integer(
37: 4);
38: public final static Integer ERROR_CREDENTIAL_DISABLED = new Integer(
39: 5);
40: public final static Integer ERROR_CREDENTIAL_EXPIRED = new Integer(
41: 6);
42: }
|