public class UserMayOrMayNotExistException2
extends org.springframework.security.core.userdetails.UsernameNotFoundException
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.
Constructor and Description |
---|
UserMayOrMayNotExistException2(String msg) |
UserMayOrMayNotExistException2(String msg,
Throwable t) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2004–2021. All rights reserved.