|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.security.core.AuthenticationException org.springframework.security.core.userdetails.UsernameNotFoundException
public class UsernameNotFoundException
Thrown if an UserDetailsService
implementation cannot locate a User
by its username.
Constructor Summary | |
---|---|
UsernameNotFoundException(String msg)
Constructs a UsernameNotFoundException with the specified
message. |
|
UsernameNotFoundException(String msg,
Object extraInformation)
Deprecated. |
|
UsernameNotFoundException(String msg,
Throwable t)
Constructs a UsernameNotFoundException with the specified message and root cause. |
Method Summary |
---|
Methods inherited from class org.springframework.security.core.AuthenticationException |
---|
clearExtraInformation, getAuthentication, getExtraInformation, setAuthentication |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
---|
public UsernameNotFoundException(String msg)
UsernameNotFoundException
with the specified
message.
msg
- the detail message.@Deprecated public UsernameNotFoundException(String msg, Object extraInformation)
UsernameNotFoundException
, making use of the extraInformation
property of the superclass.
msg
- the detail messageextraInformation
- additional information such as the username.public UsernameNotFoundException(String msg, Throwable t)
UsernameNotFoundException
with the specified message and root cause.
msg
- the detail message.t
- root cause
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |