Package org.miniorange.saml
Class MoSAMLUserInfo
java.lang.Object
org.miniorange.saml.MoSAMLUserInfo
- All Implemented Interfaces:
Serializable
,org.springframework.security.core.userdetails.UserDetails
public class MoSAMLUserInfo
extends Object
implements org.springframework.security.core.userdetails.UserDetails
- See Also:
-
Constructor Summary
ConstructorDescriptionMoSAMLUserInfo
(String username, Collection<? extends org.springframework.security.core.GrantedAuthority> grantedAuthorities) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.springframework.security.core.GrantedAuthority>
boolean
boolean
boolean
boolean
-
Constructor Details
-
MoSAMLUserInfo
public MoSAMLUserInfo(String username, Collection<? extends org.springframework.security.core.GrantedAuthority> grantedAuthorities)
-
-
Method Details
-
getAuthorities
- Specified by:
getAuthorities
in interfaceorg.springframework.security.core.userdetails.UserDetails
-
getPassword
- Specified by:
getPassword
in interfaceorg.springframework.security.core.userdetails.UserDetails
-
getUsername
- Specified by:
getUsername
in interfaceorg.springframework.security.core.userdetails.UserDetails
-
isAccountNonExpired
public boolean isAccountNonExpired()- Specified by:
isAccountNonExpired
in interfaceorg.springframework.security.core.userdetails.UserDetails
-
isAccountNonLocked
public boolean isAccountNonLocked()- Specified by:
isAccountNonLocked
in interfaceorg.springframework.security.core.userdetails.UserDetails
-
isCredentialsNonExpired
public boolean isCredentialsNonExpired()- Specified by:
isCredentialsNonExpired
in interfaceorg.springframework.security.core.userdetails.UserDetails
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceorg.springframework.security.core.userdetails.UserDetails
-