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

public class DefaultJmixSamlUserDetails extends Object implements JmixSamlUserDetails
See Also:
  • 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

      public String getName()
      Specified by:
      getName in interface org.springframework.security.core.AuthenticatedPrincipal
    • getAttributes

      public Map<String,List<Object>> getAttributes()
      Specified by:
      getAttributes in interface org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal
    • setAuthorities

      public void setAuthorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
      Specified by:
      setAuthorities in interface AcceptsGrantedAuthorities
    • getAuthorities

      public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
      Specified by:
      getAuthorities in interface org.springframework.security.core.userdetails.UserDetails
    • getPassword

      public String getPassword()
      Specified by:
      getPassword in interface org.springframework.security.core.userdetails.UserDetails
    • getUsername

      public String getUsername()
      Specified by:
      getUsername in interface org.springframework.security.core.userdetails.UserDetails
    • isAccountNonExpired

      public boolean isAccountNonExpired()
      Specified by:
      isAccountNonExpired in interface org.springframework.security.core.userdetails.UserDetails
    • isAccountNonLocked

      public boolean isAccountNonLocked()
      Specified by:
      isAccountNonLocked in interface org.springframework.security.core.userdetails.UserDetails
    • isCredentialsNonExpired

      public boolean isCredentialsNonExpired()
      Specified by:
      isCredentialsNonExpired in interface org.springframework.security.core.userdetails.UserDetails
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface org.springframework.security.core.userdetails.UserDetails