Package org.imixs.workflow.faces.util
Class LoginController
java.lang.Object
org.imixs.workflow.faces.util.LoginController
This Backing Bean acts as a Login Helper Class. Can be used to identify the
login state
- Author:
- rsoika
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doLogout
(jakarta.faces.event.ActionEvent event) invalidates the current user sessionreturns the remote user Namereturns the full qualified server URI from the current web contextReturns the current user name list including userId, roles and context groups.returns the userPrincipal Nameboolean
returns true if user is authenticated and has at least on of the Imixs Access Rolesboolean
isUserInRole
(String aRoleName) Test security context isUserInRole
-
Constructor Details
-
LoginController
public LoginController()
-
-
Method Details
-
isAuthenticated
public boolean isAuthenticated()returns true if user is authenticated and has at least on of the Imixs Access Roles- Returns:
-
isUserInRole
Test security context isUserInRole- Parameters:
aRoleName
-- Returns:
-
getUserPrincipal
returns the userPrincipal Name- Returns:
-
getRemoteUser
returns the remote user Name- Returns:
-
getUserNameList
Returns the current user name list including userId, roles and context groups.- Returns:
-
getServerURI
returns the full qualified server URI from the current web context- Returns:
-
doLogout
public void doLogout(jakarta.faces.event.ActionEvent event) invalidates the current user session- Parameters:
event
-
-