org.imixs.workflow.jee.jsf.util
Class LoginMB

java.lang.Object
  extended by org.imixs.workflow.jee.jsf.util.LoginMB

public class LoginMB
extends java.lang.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
 java.lang.String getRemoteUser()
          returns the remote user Name
 java.lang.String getServerURI()
          returns the full qualified server URI from the current web context
 java.lang.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 java.lang.String getUserPrincipal()
returns the userPrincipal Name

Returns:

getRemoteUser

public java.lang.String getRemoteUser()
returns the remote user Name

Returns:

getServerURI

public java.lang.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-2010 Imixs Software Solutions GmbH. All Rights Reserved.