@Singleton public class Security extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Security.CreatePermissionCheckerFinisher |
| Constructor and Description |
|---|
Security() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAssociateFrom(CanonicalPath path) |
boolean |
canCopyEnvironment(CanonicalPath path) |
Security.CreatePermissionCheckerFinisher |
canCreate(Class<?> entityType) |
boolean |
canDelete(CanonicalPath path) |
boolean |
canUpdate(CanonicalPath path) |
static String |
getStableId(AbstractElement<?,?> element) |
static String |
getStableId(CanonicalPath path) |
void |
initOperationsMap() |
static boolean |
isTenantEscapeAttempt(CanonicalPath origin,
Path extension) |
static boolean |
isValidRestPath(String restPath) |
static CanonicalPath |
toCanonicalPath(String restPath) |
public static String getStableId(CanonicalPath path)
public static String getStableId(AbstractElement<?,?> element)
public static boolean isValidRestPath(String restPath)
public static CanonicalPath toCanonicalPath(String restPath)
public static boolean isTenantEscapeAttempt(CanonicalPath origin, Path extension)
public Security.CreatePermissionCheckerFinisher canCreate(Class<?> entityType)
public boolean canUpdate(CanonicalPath path)
public boolean canDelete(CanonicalPath path)
public boolean canAssociateFrom(CanonicalPath path)
public boolean canCopyEnvironment(CanonicalPath path)
@PostConstruct public void initOperationsMap()
Copyright © 2015 Red Hat, Inc.. All rights reserved.