All Superinterfaces:
org.springframework.security.core.CredentialsContainer, Serializable, org.springframework.security.core.userdetails.UserDetails
All Known Implementing Classes:
AppUser, StandardUser

public interface RarogUser extends org.springframework.security.core.userdetails.UserDetails, org.springframework.security.core.CredentialsContainer
Base interface for all types of users in Rarog application. Rarog uses objects of this class instead of standard UserDetails objects. If you need anywhere to get information about user executing request, you should use this class.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.springframework.security.core.GrantedAuthority
     
    static final org.springframework.security.core.GrantedAuthority
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     

    Methods inherited from interface org.springframework.security.core.CredentialsContainer

    eraseCredentials

    Methods inherited from interface org.springframework.security.core.userdetails.UserDetails

    getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
  • Field Details

    • HUMAN_AUTHORITY

      static final org.springframework.security.core.GrantedAuthority HUMAN_AUTHORITY
    • APP_AUTHORITY

      static final org.springframework.security.core.GrantedAuthority APP_AUTHORITY
  • Method Details

    • isHuman

      boolean isHuman()
    • isApp

      boolean isApp()