@Named @ApplicationScoped public class AuthorizationHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AUTHORIZATION_HELPER |
Constructor and Description |
---|
AuthorizationHelper() |
Modifier and Type | Method and Description |
---|---|
static AuthorizationHelper |
getInstance(javax.faces.context.FacesContext facesContext) |
boolean |
isAuthorized(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String expression) |
protected static String |
skipParameterPart(String expressionFull)
Problems with brackets are not processed!
|
public static final String AUTHORIZATION_HELPER
public static AuthorizationHelper getInstance(javax.faces.context.FacesContext facesContext)
public boolean isAuthorized(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, String expression)
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.