Package org.acegisecurity.userdetails
Class User
- java.lang.Object
-
- org.acegisecurity.userdetails.User
-
- All Implemented Interfaces:
Serializable,UserDetails
@Deprecated public class User extends Object implements UserDetails
Deprecated.useUser- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description User(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, GrantedAuthority[] authorities)Deprecated.User(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, GrantedAuthority[] authorities)Deprecated.User(String username, String password, boolean enabled, GrantedAuthority[] authorities)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.GrantedAuthority[]getAuthorities()Deprecated.StringgetPassword()Deprecated.StringgetUsername()Deprecated.inthashCode()Deprecated.booleanisAccountNonExpired()Deprecated.booleanisAccountNonLocked()Deprecated.booleanisCredentialsNonExpired()Deprecated.booleanisEnabled()Deprecated.protected voidsetAuthorities(GrantedAuthority[] authorities)Deprecated.StringtoString()Deprecated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.acegisecurity.userdetails.UserDetails
toSpring
-
-
-
-
Constructor Detail
-
User
public User(String username, String password, boolean enabled, GrantedAuthority[] authorities)
Deprecated.
-
User
public User(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, GrantedAuthority[] authorities)
Deprecated.
-
User
public User(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, GrantedAuthority[] authorities)
Deprecated.
-
-
Method Detail
-
getAuthorities
public GrantedAuthority[] getAuthorities()
Deprecated.- Specified by:
getAuthoritiesin interfaceUserDetails
-
setAuthorities
protected void setAuthorities(GrantedAuthority[] authorities)
Deprecated.
-
getPassword
public String getPassword()
Deprecated.- Specified by:
getPasswordin interfaceUserDetails
-
getUsername
public String getUsername()
Deprecated.- Specified by:
getUsernamein interfaceUserDetails
-
isAccountNonExpired
public boolean isAccountNonExpired()
Deprecated.- Specified by:
isAccountNonExpiredin interfaceUserDetails
-
isAccountNonLocked
public boolean isAccountNonLocked()
Deprecated.- Specified by:
isAccountNonLockedin interfaceUserDetails
-
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
Deprecated.- Specified by:
isCredentialsNonExpiredin interfaceUserDetails
-
isEnabled
public boolean isEnabled()
Deprecated.- Specified by:
isEnabledin interfaceUserDetails
-
-