Klasse LoginController

java.lang.Object
org.imixs.workflow.faces.util.LoginController

@Named @RequestScoped public class LoginController extends Object
This Backing Bean acts as a Login Helper Class. Can be used to identify the login state
Autor:
rsoika
  • 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

      public boolean isUserInRole(String aRoleName)
      Test security context isUserInRole
      Parameter:
      aRoleName -
      Gibt zurück:
    • getUserPrincipal

      public String getUserPrincipal()
      returns the userPrincipal Name
      Gibt zurück:
    • getRemoteUser

      public String getRemoteUser()
      returns the remote user Name
      Gibt zurück:
    • getUserNameList

      public List<String> getUserNameList()
      Returns the current user name list including userId, roles and context groups.
      Gibt zurück:
    • getServerURI

      public String 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 -