public interface SecurityFramework
extends org.jboss.ballroom.client.rbac.SecurityService
| Modifier and Type | Method and Description |
|---|---|
void |
createSecurityContext(String id,
com.google.gwt.user.client.rpc.AsyncCallback<org.jboss.ballroom.client.rbac.SecurityContext> callback)
Create a security context for a particular place.
|
void |
createSecurityContext(String id,
Set<String> requiredResources,
boolean recursive,
com.google.gwt.user.client.rpc.AsyncCallback<org.jboss.ballroom.client.rbac.SecurityContext> callback)
Create a security context for a particular place.
|
void |
flushContext(String id)
Removes a context and forces re-creation
|
org.jboss.ballroom.client.rbac.SecurityContext |
getSecurityContext(String id)
Get the security context associated with the current
com.gwtplatform.mvp.client.proxy.PlaceRequest |
boolean |
hasContext(String id)
Check wether or not a context exists.
|
org.jboss.ballroom.client.rbac.SecurityContext getSecurityContext(String id)
com.gwtplatform.mvp.client.proxy.PlaceRequestPlaceManagervoid createSecurityContext(String id, com.google.gwt.user.client.rpc.AsyncCallback<org.jboss.ballroom.client.rbac.SecurityContext> callback)
AccessControl annotation.id - callback - void createSecurityContext(String id, Set<String> requiredResources, boolean recursive, com.google.gwt.user.client.rpc.AsyncCallback<org.jboss.ballroom.client.rbac.SecurityContext> callback)
id - requiredResources - a list of resources to operate oncallback - boolean hasContext(String id)
id - void flushContext(String id)
id - Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.