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/jetspeed-api/src/java/org/apache/jetspeed/security PasswordAlreadyUsedException.java InvalidNewPasswordException.java InvalidPasswordException.java
Date Wed, 02 Feb 2005 23:47:08 GMT
ate         2005/02/02 15:47:08

  Added:       jetspeed-api/src/java/org/apache/jetspeed/security
                        PasswordAlreadyUsedException.java
                        InvalidNewPasswordException.java
                        InvalidPasswordException.java
  Log:
  Extended SecurityExceptions for easier localization
  
  Revision  Changes    Path
  1.1                  jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/security/PasswordAlreadyUsedException.java
  
  Index: PasswordAlreadyUsedException.java
  ===================================================================
  /* Copyright 2004 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.security;
  
  /**
   * Exception thrown when supplied password has been used before.
   *
   * @author <a href="mailto:ate@apache.org">Ate Douma</a>
   * @version $Id: PasswordAlreadyUsedException.java,v 1.1 2005/02/02 23:47:08 ate Exp $
   */
  public class PasswordAlreadyUsedException extends SecurityException
  {
      public PasswordAlreadyUsedException()
      {
          super(PASSWORD_ALREADY_USED);
      }
  }
  
  
  
  1.1                  jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/security/InvalidNewPasswordException.java
  
  Index: InvalidNewPasswordException.java
  ===================================================================
  /* Copyright 2004 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.security;
  
  /**
   * Exception thrown when supplied new password is invalid.
   *
   * @author <a href="mailto:ate@apache.org">Ate Douma</a>
   * @version $Id: InvalidNewPasswordException.java,v 1.1 2005/02/02 23:47:08 ate Exp $
   */
  public class InvalidNewPasswordException extends SecurityException
  {
      public InvalidNewPasswordException()
      {
          super(INVALID_NEW_PASSWORD);
      }
  }
  
  
  
  1.1                  jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/security/InvalidPasswordException.java
  
  Index: InvalidPasswordException.java
  ===================================================================
  /* Copyright 2004 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.security;
  
  /**
   * Exception thrown when supplied password is invalid.
   *
   * @author <a href="mailto:ate@apache.org">Ate Douma</a>
   * @version $Id: InvalidPasswordException.java,v 1.1 2005/02/02 23:47:08 ate Exp $
   */
  public class InvalidPasswordException extends SecurityException
  {
      public InvalidPasswordException()
      {
          super(INVALID_PASSWORD);
      }
  }
  
  
  

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


Mime
View raw message