public class Token extends Object implements TokenUserDetails
Modifier and Type | Method and Description |
---|---|
Authority[] |
getAuthorities()
Returns the granted authorities granted to the user.
|
String |
getPassword()
Returns the password used to authenticate the user.
|
String |
getUsername()
Returns the username used to authenticate the user.
|
String |
token() |
String |
toString() |
public Token(String token)
public String token()
token
in interface TokenUserDetails
public Authority[] getAuthorities()
UserDetails
null
.getAuthorities
in interface UserDetails
null
)public String getPassword()
UserDetails
null
.getPassword
in interface UserDetails
null
)public String getUsername()
UserDetails
null
.getUsername
in interface UserDetails
null
)Copyright © GigaSpaces.