Class AdminSession
- java.lang.Object
-
- com.github.adminfaces.template.session.AdminSession
-
- All Implemented Interfaces:
Serializable
@SessionScoped public class AdminSession extends Object implements Serializable
Created by rmpestano on 04/02/17 Controls if user is logged in so AdminFilter can send user to login page when it is not logged in. By default it is always logged in so to have this feature one must @Specializes this bean and put the security logic in IsLoggedIn method.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdminSession()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisLoggedIn()booleanisUserRedirected()voidsetIsLoggedIn(boolean isLoggedIn)voidsetUserRedirected(boolean userRedirected)
-