Class CoreUserDetails
java.lang.Object
org.springframework.security.core.userdetails.User
de.hybris.platform.spring.security.CoreUserDetails
- All Implemented Interfaces:
Serializable,org.springframework.security.core.CredentialsContainer,org.springframework.security.core.userdetails.UserDetails
public class CoreUserDetails
extends org.springframework.security.core.userdetails.User
Models core user information retrieved by a
UserDetailsService.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.security.core.userdetails.User
org.springframework.security.core.userdetails.User.UserBuilder -
Constructor Summary
ConstructorsConstructorDescriptionCoreUserDetails(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<org.springframework.security.core.GrantedAuthority> authorities, String iso) Deprecated.CoreUserDetails(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<org.springframework.security.core.GrantedAuthority> authorities, String iso, PK pk) CoreUserDetails constructor -
Method Summary
Methods inherited from class org.springframework.security.core.userdetails.User
builder, equals, eraseCredentials, getAuthorities, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString, withDefaultPasswordEncoder, withUserDetails, withUsername
-
Constructor Details
-
CoreUserDetails
@Deprecated(since="2211") public CoreUserDetails(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<org.springframework.security.core.GrantedAuthority> authorities, String iso) throws IllegalArgumentException Deprecated.since 2211 - useCoreUserDetails(String, String, boolean, boolean, boolean, boolean, Collection, String, PK)constructor.- Throws:
IllegalArgumentException
-
CoreUserDetails
public CoreUserDetails(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<org.springframework.security.core.GrantedAuthority> authorities, String iso, PK pk) throws IllegalArgumentException CoreUserDetails constructor- Throws:
IllegalArgumentException
-
-
Method Details
-
getLanguageISO
-
getPk
-
CoreUserDetails(String, String, boolean, boolean, boolean, boolean, Collection, String, PK)constructor.