Class UserMayOrMayNotExistException2

  • All Implemented Interfaces:

    public class UserMayOrMayNotExistException2
    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.

    See Also:
    Serialized Form
    • Constructor Detail

      • UserMayOrMayNotExistException2

        public UserMayOrMayNotExistException2​(String msg)
      • UserMayOrMayNotExistException2

        public UserMayOrMayNotExistException2​(String msg,
                                              Throwable t)