org.imixs.workflow.jee.faces
Class LoginMB

java.lang.Object
  extended by org.imixs.workflow.jee.faces.LoginMB

public class LoginMB
extends Object

This Backing Bean acts as a Login Helper Class. Can be used to identify the login state

Author:
rsoika

Constructor Summary
LoginMB()
           
 
Method Summary
 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
 String getUserPrincipal()
          returns the userPrincipal Name
 boolean isAuthenticated()
          returns true if user is authenticated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginMB

public LoginMB()
Method Detail

isAuthenticated

public boolean isAuthenticated()
returns true if user is authenticated

Returns:

getUserPrincipal

public String getUserPrincipal()
returns the userPrincipal Name

Returns:

getRemoteUser

public String getRemoteUser()
returns the remote user Name

Returns:

getServerURI

public String getServerURI()
returns the full qualified server URI from the current web context

Returns:

doLogout

public void doLogout(javax.faces.event.ActionEvent event)
invalidates the current user session

Parameters:
event -


Copyright © 2006-2011 Imixs Software Solutions GmbH. All Rights Reserved.