portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/login LoginConstants.java
Date Sun, 24 Apr 2005 12:30:47 GMT
ate         2005/04/24 05:30:47

  Added:       jetspeed-api/src/java/org/apache/jetspeed/login
                        LoginConstants.java
  Removed:     commons/src/java/org/apache/jetspeed/login
                        LoginConstants.java
  Log:
  Moving o.a.j.login.LoginConstants to jetspeed-api sub project (see http://issues.apache.org/jira/browse/JS2-239)
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/login/LoginConstants.java
  
  Index: LoginConstants.java
  ===================================================================
  /*
   * Copyright 2000-2004 The Apache Software Foundation.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   * 
   *      http://www.apache.org/licenses/LICENSE-2.0
   * 
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  package org.apache.jetspeed.login;
  
  
  /**
   * LoginConstants
   *
   * @author <a href="mailto:ate@douma.nu">Ate Douma</a>
   * @version $Id: LoginConstants.java,v 1.1 2005/04/24 12:30:47 ate Exp $
   */
  public final class LoginConstants
  {
      public final static String USERNAME    = "org.apache.jetspeed.login.username";
      public final static String PASSWORD    = "org.apache.jetspeed.login.password";
      public final static String DESTINATION = "org.apache.jetspeed.login.destination";
      public final static String RETRYCOUNT  = "org.apache.jetspeed.login.retrycount";
      public final static String ERRORCODE   = "org.apache.jetspeed.login.errorcode";
      
      public final static Integer ERROR_UNKNOWN_USER = new Integer(1);
      public final static Integer ERROR_INVALID_PASSWORD = new Integer(2);
      public final static Integer ERROR_USER_DISABLED = new Integer(3);
      public final static Integer ERROR_FINAL_LOGIN_ATTEMPT = new Integer(4);
      public final static Integer ERROR_CREDENTIAL_DISABLED = new Integer(5);
  }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message