Class CurrentUserService

java.lang.Object
edu.ucsb.cs156.happiercows.services.CurrentUserService
Direct Known Subclasses:
CurrentUserServiceImpl

public abstract class CurrentUserService extends Object
  • Constructor Details

    • CurrentUserService

      public CurrentUserService()
  • Method Details

    • getUser

      public abstract User getUser()
    • getCurrentUser

      public abstract CurrentUser getCurrentUser()
    • getRoles

      public abstract Collection<? extends org.springframework.security.core.GrantedAuthority> getRoles()
    • isLoggedIn

      public final boolean isLoggedIn()