org.granite.client.tide.javafx.cdi
Class Identity

java.lang.Object
  extended by org.granite.client.tide.impl.ComponentImpl
      extended by org.granite.client.tide.javafx.BaseIdentity
          extended by org.granite.client.tide.javafx.cdi.Identity
All Implemented Interfaces:
InvocationHandler, ContextAware, Identity, NameAware, Component, ExceptionHandler

@Named
public class Identity
extends BaseIdentity

Author:
William DRAI

Constructor Summary
protected Identity()
           
  Identity(ServerSession serverSession)
           
 
Method Summary
 void clearSecurityCache()
          Clear the security cache
 ObservableRole hasRole(String roleName)
           
protected  void initSecurityCache()
           
 
Methods inherited from class org.granite.client.tide.javafx.BaseIdentity
accepts, checkLoggedIn, getUsername, handle, isLoggedIn, loggedInProperty, login, logout, setLoggedIn, usernameProperty
 
Methods inherited from class org.granite.client.tide.impl.ComponentImpl
call, callComponent, getContext, getName, getServerSession, invoke, invoke, setContext, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identity

protected Identity()

Identity

public Identity(ServerSession serverSession)
Method Detail

hasRole

public ObservableRole hasRole(String roleName)
Specified by:
hasRole in class BaseIdentity

initSecurityCache

protected void initSecurityCache()
Specified by:
initSecurityCache in class BaseIdentity

clearSecurityCache

public void clearSecurityCache()
Clear the security cache

Specified by:
clearSecurityCache in class BaseIdentity