Package org.imixs.workflow.faces.util
Klasse 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
- Autor:
- rsoika
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoiddoLogout(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 Namebooleanreturns true if user is authenticated and has at least on of the Imixs Access RolesbooleanisUserInRole(String aRoleName) Test security context isUserInRole
-
Konstruktordetails
-
LoginController
public LoginController()
-
-
Methodendetails
-
isAuthenticated
public boolean isAuthenticated()returns true if user is authenticated and has at least on of the Imixs Access Roles- Gibt zurück:
-
isUserInRole
Test security context isUserInRole- Parameter:
aRoleName-- Gibt zurück:
-
getUserPrincipal
returns the userPrincipal Name- Gibt zurück:
-
getRemoteUser
returns the remote user Name- Gibt zurück:
-
getUserNameList
Returns the current user name list including userId, roles and context groups.- Gibt zurück:
-
getServerURI
returns the full qualified server URI from the current web context- Gibt zurück:
-
doLogout
public void doLogout(jakarta.faces.event.ActionEvent event) invalidates the current user session- Parameter:
event-
-