equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
24 */ |
24 */ |
25 |
25 |
26 package javax.security.auth.login; |
26 package javax.security.auth.login; |
27 |
27 |
28 /** |
28 /** |
29 * Signals that a <code>Credential</code> has expired. |
29 * Signals that a {@code Credential} has expired. |
30 * |
30 * |
31 * <p> This exception is thrown by LoginModules when they determine |
31 * <p> This exception is thrown by LoginModules when they determine |
32 * that a <code>Credential</code> has expired. |
32 * that a {@code Credential} has expired. |
33 * For example, a <code>LoginModule</code> authenticating a user |
33 * For example, a {@code LoginModule} authenticating a user |
34 * in its <code>login</code> method may determine that the user's |
34 * in its {@code login} method may determine that the user's |
35 * password, although entered correctly, has expired. In this case |
35 * password, although entered correctly, has expired. In this case |
36 * the <code>LoginModule</code> throws this exception to notify |
36 * the {@code LoginModule} throws this exception to notify |
37 * the application. The application can then take the appropriate |
37 * the application. The application can then take the appropriate |
38 * steps to assist the user in updating the password. |
38 * steps to assist the user in updating the password. |
39 * |
39 * |
40 */ |
40 */ |
41 public class CredentialExpiredException extends CredentialException { |
41 public class CredentialExpiredException extends CredentialException { |