Package hudson.security
Class UserMayOrMayNotExistException2
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.security.core.AuthenticationException
-
- org.springframework.security.core.userdetails.UsernameNotFoundException
-
- hudson.security.UserMayOrMayNotExistException2
-
- All Implemented Interfaces:
Serializable
public class UserMayOrMayNotExistException2 extends org.springframework.security.core.userdetails.UsernameNotFoundException
Thrown fromUserDetailsService.loadUserByUsername(String)
to indicate that the underlyingSecurityRealm
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:
- 2.266
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserMayOrMayNotExistException2(String msg)
UserMayOrMayNotExistException2(String msg, Throwable t)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-