org.granite.client.tide.javafx.spring
Class Identity
java.lang.Object
org.granite.client.tide.impl.ComponentImpl
org.granite.client.tide.javafx.BaseIdentity
org.granite.client.tide.javafx.spring.Identity
- All Implemented Interfaces:
- InvocationHandler, ContextAware, Identity, NameAware, Component, ExceptionHandler
@Named
public class Identity
- extends BaseIdentity
- Author:
- William DRAI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Identity
protected Identity()
Identity
public Identity(ServerSession serverSession)
hasRole
public ObservableRole hasRole(String roleName)
- Specified by:
hasRole in class BaseIdentity
ifAllGranted
public ObservableRole ifAllGranted(String roleName)
ifAnyGranted
public ObservableRole ifAnyGranted(String roleName)
ifNotGranted
public ObservableRole ifNotGranted(String roleName)
hasPermission
public ObservablePermission hasPermission(Object entity,
String action)
initSecurityCache
protected void initSecurityCache()
- Specified by:
initSecurityCache in class BaseIdentity
clearSecurityCache
public void clearSecurityCache()
- Clear the security cache
- Specified by:
clearSecurityCache in class BaseIdentity