Package edu.ucsb.cs156.example.services
Class CurrentUserService
java.lang.Object
edu.ucsb.cs156.example.services.CurrentUserService
- Direct Known Subclasses:
CurrentUserServiceImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract CurrentUser
abstract Collection<? extends org.springframework.security.core.GrantedAuthority>
getRoles()
abstract User
getUser()
final boolean
-
Constructor Details
-
CurrentUserService
public CurrentUserService()
-
-
Method Details
-
getUser
-
getCurrentUser
-
getRoles
-
isLoggedIn
public final boolean isLoggedIn()
-