public class SecurityContextImpl extends Object implements org.jboss.ballroom.client.rbac.SecurityContext
com.gwtplatform.mvp.client.proxy.PlaceRequest.SecurityService,
PlaceManager| Modifier and Type | Class and Description |
|---|---|
static interface |
SecurityContextImpl.Priviledge |
| Constructor and Description |
|---|
SecurityContextImpl(String nameToken,
Set<org.jboss.as.console.client.rbac.ResourceRef> requiredResources) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.safehtml.shared.SafeHtml |
asHtml() |
org.jboss.ballroom.client.rbac.AuthorisationDecision |
getAttributeReadPriviledge(String name) |
org.jboss.ballroom.client.rbac.AuthorisationDecision |
getAttributeReadPriviledge(String resourceAddress,
String attributeName) |
org.jboss.ballroom.client.rbac.AuthorisationDecision |
getAttributeWritePriviledge(String name) |
org.jboss.ballroom.client.rbac.AuthorisationDecision |
getAttributeWritePriviledge(String resourceAddress,
String attributeName) |
org.jboss.ballroom.client.rbac.SecurityContext |
getChildContext(String resourceAddress) |
org.jboss.ballroom.client.rbac.AuthorisationDecision |
getOperationPriviledge(String resourceAddress,
String operationName) |
org.jboss.ballroom.client.rbac.AuthorisationDecision |
getReadPriviledge()
If any of the required resources is not accessible, overall access will be rejected
|
org.jboss.ballroom.client.rbac.AuthorisationDecision |
getReadPrivilege(String resourceAddress) |
org.jboss.ballroom.client.rbac.AuthorisationDecision |
getWritePriviledge() |
org.jboss.ballroom.client.rbac.AuthorisationDecision |
getWritePrivilege(String resourceAddress) |
boolean |
hasChildContext(String resourceAddress) |
void |
seal() |
public SecurityContextImpl(String nameToken, Set<org.jboss.as.console.client.rbac.ResourceRef> requiredResources)
public com.google.gwt.safehtml.shared.SafeHtml asHtml()
public org.jboss.ballroom.client.rbac.AuthorisationDecision getReadPriviledge()
getReadPriviledge in interface org.jboss.ballroom.client.rbac.SecurityContextpublic org.jboss.ballroom.client.rbac.AuthorisationDecision getReadPrivilege(String resourceAddress)
getReadPrivilege in interface org.jboss.ballroom.client.rbac.SecurityContextpublic org.jboss.ballroom.client.rbac.AuthorisationDecision getWritePriviledge()
getWritePriviledge in interface org.jboss.ballroom.client.rbac.SecurityContextpublic org.jboss.ballroom.client.rbac.AuthorisationDecision getWritePrivilege(String resourceAddress)
getWritePrivilege in interface org.jboss.ballroom.client.rbac.SecurityContextpublic org.jboss.ballroom.client.rbac.AuthorisationDecision getAttributeWritePriviledge(String name)
getAttributeWritePriviledge in interface org.jboss.ballroom.client.rbac.SecurityContextpublic org.jboss.ballroom.client.rbac.AuthorisationDecision getAttributeReadPriviledge(String name)
getAttributeReadPriviledge in interface org.jboss.ballroom.client.rbac.SecurityContextpublic org.jboss.ballroom.client.rbac.AuthorisationDecision getAttributeWritePriviledge(String resourceAddress, String attributeName)
getAttributeWritePriviledge in interface org.jboss.ballroom.client.rbac.SecurityContextpublic org.jboss.ballroom.client.rbac.AuthorisationDecision getAttributeReadPriviledge(String resourceAddress, String attributeName)
getAttributeReadPriviledge in interface org.jboss.ballroom.client.rbac.SecurityContextpublic boolean hasChildContext(String resourceAddress)
hasChildContext in interface org.jboss.ballroom.client.rbac.SecurityContextpublic org.jboss.ballroom.client.rbac.SecurityContext getChildContext(String resourceAddress)
getChildContext in interface org.jboss.ballroom.client.rbac.SecurityContextpublic void seal()
seal in interface org.jboss.ballroom.client.rbac.SecurityContextCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.