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 boolean
equals(Object o)
Deprecated.GrantedAuthority[]
getAuthorities()
Deprecated.String
getPassword()
Deprecated.String
getUsername()
Deprecated.int
hashCode()
Deprecated.boolean
isAccountNonExpired()
Deprecated.boolean
isAccountNonLocked()
Deprecated.boolean
isCredentialsNonExpired()
Deprecated.boolean
isEnabled()
Deprecated.protected void
setAuthorities(GrantedAuthority[] authorities)
Deprecated.String
toString()
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:
getAuthorities
in interfaceUserDetails
-
setAuthorities
protected void setAuthorities(GrantedAuthority[] authorities)
Deprecated.
-
getPassword
public String getPassword()
Deprecated.- Specified by:
getPassword
in interfaceUserDetails
-
getUsername
public String getUsername()
Deprecated.- Specified by:
getUsername
in interfaceUserDetails
-
isAccountNonExpired
public boolean isAccountNonExpired()
Deprecated.- Specified by:
isAccountNonExpired
in interfaceUserDetails
-
isAccountNonLocked
public boolean isAccountNonLocked()
Deprecated.- Specified by:
isAccountNonLocked
in interfaceUserDetails
-
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
Deprecated.- Specified by:
isCredentialsNonExpired
in interfaceUserDetails
-
isEnabled
public boolean isEnabled()
Deprecated.- Specified by:
isEnabled
in interfaceUserDetails
-
-