Package io.jmix.saml.user
Class DefaultJmixSamlUserDetails
java.lang.Object
io.jmix.saml.user.DefaultJmixSamlUserDetails
- All Implemented Interfaces:
JmixSamlUserDetails
,AcceptsGrantedAuthorities
,JmixUserDetails
,Serializable
,org.springframework.security.core.AuthenticatedPrincipal
,org.springframework.security.core.userdetails.UserDetails
,org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal
- See Also:
-
Constructor Summary
ConstructorDescriptionDefaultJmixSamlUserDetails
(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal delegate, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.springframework.security.core.GrantedAuthority>
getName()
boolean
boolean
boolean
boolean
void
setAuthorities
(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal
getAttribute, getFirstAttribute, getRelyingPartyRegistrationId, getSessionIndexes
-
Constructor Details
-
DefaultJmixSamlUserDetails
public DefaultJmixSamlUserDetails(org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal delegate, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceorg.springframework.security.core.AuthenticatedPrincipal
-
getAttributes
- Specified by:
getAttributes
in interfaceorg.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal
-
setAuthorities
public void setAuthorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) - Specified by:
setAuthorities
in interfaceAcceptsGrantedAuthorities
-
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
-