Class SimulatedUser
java.lang.Object
se.swedenconnect.spring.saml.idp.demo.user.SimulatedUser
- All Implemented Interfaces:
Serializable,org.springframework.security.core.userdetails.UserDetails
public class SimulatedUser
extends Object
implements org.springframework.security.core.userdetails.UserDetails
A simulated user.
- Author:
- Martin Lindström
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCollection<? extends org.springframework.security.core.GrantedAuthority> inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.core.userdetails.UserDetails
isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
-
Constructor Details
-
SimulatedUser
public SimulatedUser()
-
-
Method Details
-
getAuthorities
- Specified by:
getAuthoritiesin interfaceorg.springframework.security.core.userdetails.UserDetails
-
getPassword
- Specified by:
getPasswordin interfaceorg.springframework.security.core.userdetails.UserDetails
-
getUsername
- Specified by:
getUsernamein interfaceorg.springframework.security.core.userdetails.UserDetails
-
toViewString
-
hashCode
public int hashCode() -
equals
-