@Named @RequestScoped public class LoginController extends Object
| Constructor and Description |
|---|
LoginController() |
| Modifier and Type | Method and Description |
|---|---|
void |
doLogout(javax.faces.event.ActionEvent event)
invalidates the current user session
|
String |
getRemoteUser()
returns the remote user Name
|
String |
getServerURI()
returns the full qualified server URI from the current web context
|
List<String> |
getUserNameList()
Returns the current user name list including userId, roles and context
groups.
|
String |
getUserPrincipal()
returns the userPrincipal Name
|
boolean |
isAuthenticated()
returns true if user is authenticated and has at least on of the Imixs Access
Roles
|
boolean |
isUserInRole(String aRoleName)
Test security context isUserInRole
|
public boolean isAuthenticated()
public boolean isUserInRole(String aRoleName)
aRoleName - public String getUserPrincipal()
public String getRemoteUser()
public List<String> getUserNameList()
public String getServerURI()
public void doLogout(javax.faces.event.ActionEvent event)
event - Copyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.