hudson.security
Class UserMayOrMayNotExistException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.acegisecurity.AcegiSecurityException
                      extended by org.acegisecurity.AuthenticationException
                          extended by org.acegisecurity.BadCredentialsException
                              extended by org.acegisecurity.userdetails.UsernameNotFoundException
                                  extended by hudson.security.UserMayOrMayNotExistException
All Implemented Interfaces:
Serializable

public class UserMayOrMayNotExistException
extends org.acegisecurity.userdetails.UsernameNotFoundException

Thrown from UserDetailsService.loadUserByUsername(String) to indicate that the underlying SecurityRealm is incapable of retrieving the information, and furthermore, the system cannot tell if such an user exists or not.

This happens, for example, when the security realm is on top of the servlet implementation, there's no way of even knowing if an user of a given name exists or not.

Since:
1.280
Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Constructor Summary
UserMayOrMayNotExistException(String msg)
           
UserMayOrMayNotExistException(String msg, Object extraInformation)
           
UserMayOrMayNotExistException(String msg, Throwable t)
           
 
Method Summary
 
Methods inherited from class org.acegisecurity.AuthenticationException
getAuthentication, getExtraInformation
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserMayOrMayNotExistException

public UserMayOrMayNotExistException(String msg)

UserMayOrMayNotExistException

public UserMayOrMayNotExistException(String msg,
                                     Object extraInformation)

UserMayOrMayNotExistException

public UserMayOrMayNotExistException(String msg,
                                     Throwable t)


Copyright © 2004-2013. All Rights Reserved.