Searched refs:LoginException (Results 1 - 25 of 44) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/security/auth/login/
H A DLoginException.java34 public class LoginException extends java.security.GeneralSecurityException { class in inherits:java.security.GeneralSecurityException
39 * Constructs a LoginException with no detail message. A detail
42 public LoginException() { method in class:LoginException
47 * Constructs a LoginException with the specified detail message.
55 public LoginException(String msg) { method in class:LoginException
H A DAccountException.java33 public class AccountException extends LoginException {
H A DCredentialException.java33 public class CredentialException extends LoginException {
H A DFailedLoginException.java36 public class FailedLoginException extends LoginException {
H A DLoginContext.java134 * then a <code>LoginException</code> is thrown.
230 private LoginException firstError = null;
231 private LoginException firstRequiredError = null;
237 private void init(String name) throws LoginException {
246 throw new LoginException
273 throw new LoginException(form.format(source));
295 private void loadDefaultCallbackHandler() throws LoginException {
316 throw new LoginException(pae.getException().toString());
333 * @exception LoginException if the caller-specified <code>name</code>
348 public LoginContext(String name) throws LoginException {
[all...]
/openjdk7/jdk/test/javax/security/auth/login/LoginContext/
H A DResetModule.java36 public boolean login() throws LoginException { return true; }
37 public boolean commit() throws LoginException { return true; }
38 public boolean abort() throws LoginException { return true; }
39 public boolean logout() throws LoginException { return true; }
H A DDefaultHandlerModule.java52 public boolean login() throws LoginException {
56 throw new LoginException("Error: no CallbackHandler available " +
66 public boolean commit() throws LoginException {
70 public boolean abort() throws LoginException {
74 public boolean logout() throws LoginException {
H A DModuleSubjectModule.java55 public boolean login() throws LoginException {
59 throw new LoginException("attempt 1 fails");
64 public boolean commit() throws LoginException {
72 public boolean abort() throws LoginException {
76 public boolean logout() throws LoginException {
H A DConfigConstructor.java99 } catch (LoginException le) {
105 "LoginException did not have chained SecurityException");
203 public boolean login() throws LoginException { return true; }
204 public boolean commit() throws LoginException { return true; }
205 public boolean abort() throws LoginException { return true; }
206 public boolean logout() throws LoginException { return true; }
221 public boolean login() throws LoginException { return true; }
222 public boolean commit() throws LoginException { return true; }
223 public boolean abort() throws LoginException { return true; }
224 public boolean logout() throws LoginException { retur
[all...]
H A DDefaultHandler.java46 } catch (LoginException le) {
56 } catch (LoginException le) {
73 } catch (LoginException le) {
81 } catch (LoginException le) {
H A DModuleSubject.java45 } catch (LoginException le) {
56 } catch (LoginException le) {
85 } catch (LoginException le) {
/openjdk7/jdk/src/share/classes/java/security/
H A DAuthProvider.java29 import javax.security.auth.login.LoginException;
80 * @exception LoginException if the login operation fails
88 throws LoginException;
93 * @exception LoginException if the logout operation fails
100 public abstract void logout() throws LoginException;
/openjdk7/jdk/src/share/classes/javax/security/auth/spi/
H A DLoginModule.java62 * the <code>Subject</code> may throw a <code>LoginException</code>.
90 * <code>LoginException</code> to specify a failure.
172 * @exception LoginException if the authentication fails
177 boolean login() throws LoginException;
197 * @exception LoginException if the commit fails
202 boolean commit() throws LoginException;
219 * @exception LoginException if the abort fails
224 boolean abort() throws LoginException;
234 * @exception LoginException if the logout fails
239 boolean logout() throws LoginException;
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DKrb5Proxy.java33 import javax.security.auth.login.LoginException;
44 Subject getClientSubject(AccessControlContext acc) throws LoginException;
49 Subject getServerSubject(AccessControlContext acc) throws LoginException;
55 SecretKey[] getServerKeys(AccessControlContext acc) throws LoginException;
H A DKrb5Helper.java35 import javax.security.auth.login.LoginException;
79 throws LoginException {
88 throws LoginException {
97 throws LoginException {
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DKeyStoreLoginModule.java67 import javax.security.auth.login.LoginException;
278 public boolean login() throws LoginException {
282 throw new LoginException("The login module is not initialized");
287 throw new LoginException
293 throw new LoginException
301 throw new LoginException
340 private void getAliasAndPasswords(int env) throws LoginException {
397 private void checkAlias() throws LoginException {
399 throw new LoginException
405 private void checkStorePass() throws LoginException {
[all...]
H A DKrb5LoginModule.java514 * @exception LoginException if this <code>LoginModule</code>
517 public boolean login() throws LoginException {
528 LoginException le = new LoginException(ke.getMessage());
552 } catch (LoginException le) {
567 } catch (LoginException e) {
588 } catch (LoginException e) {
608 throws LoginException {
620 LoginException le = new LoginException(
[all...]
H A DLdapLoginModule.java497 * @exception LoginException if this <code>LoginModule</code>
500 public boolean login() throws LoginException {
503 throw new LoginException
528 } catch (LoginException le) {
552 } catch (LoginException le) {
575 } catch (LoginException le) {
602 * @exception LoginException if the commit fails
606 public boolean commit() throws LoginException {
613 throw new LoginException ("Subject is read-only");
667 * @exception LoginException i
[all...]
H A DJndiLoginModule.java256 * @exception LoginException if this <code>LoginModule</code>
259 public boolean login() throws LoginException {
262 throw new LoginException
266 throw new LoginException
292 } catch (LoginException le) {
316 } catch (LoginException le) {
338 } catch (LoginException le) {
367 * @exception LoginException if the commit fails
372 public boolean commit() throws LoginException {
379 throw new LoginException ("Subjec
[all...]
H A DSolarisLoginModule.java127 public boolean login() throws LoginException {
184 * @exception LoginException if the commit fails
189 public boolean commit() throws LoginException {
199 throw new LoginException ("Subject is Readonly");
239 * @exception LoginException if the abort fails
244 public boolean abort() throws LoginException {
278 * @exception LoginException if the logout fails
283 public boolean logout() throws LoginException {
289 throw new LoginException ("Subject is Readonly");
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/security/
H A DFileLoginModule.java218 * @exception LoginException if this <code>LoginModule</code>
221 public boolean login() throws LoginException {
226 LoginException le = new LoginException(
233 throw new LoginException
258 } catch (LoginException le) {
280 } catch (LoginException le) {
305 } catch (LoginException le) {
329 * @exception LoginException if the commit fails
333 public boolean commit() throws LoginException {
[all...]
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DUseCacheAndStoreKey.java34 import javax.security.auth.login.LoginException;
64 } catch (LoginException le) {
/openjdk7/jdk/test/javax/security/auth/login/Exceptions/
H A DNewExceptions.java27 * @summary LoginException subclasses
49 if (! (ac instanceof LoginException) ||
50 ! (ce instanceof LoginException) ||
/openjdk7/jdk/src/share/classes/sun/security/ssl/krb5/
H A DKrb5ProxyImpl.java35 import javax.security.auth.login.LoginException;
52 throws LoginException {
58 throws LoginException {
64 throws LoginException {
/openjdk7/jdk/test/com/sun/security/auth/module/LdapLoginModule/
H A DCheckOptions.java67 throw new SecurityException("expected a LoginException");
69 } catch (LoginException le) {
71 System.out.println("Caught a LoginException, as expected");
82 throw new SecurityException("expected a LoginException");
84 } catch (LoginException le) {
86 System.out.println("Caught a LoginException, as expected");
101 throw new SecurityException("expected LoginException");
103 } catch (LoginException le) {
105 System.out.println("Caught a LoginException, as expected");
120 throw new SecurityException("expected LoginException");
[all...]

Completed in 1063 milliseconds

12