@ManagedBean @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,
String expression) |
public static final String AUTHORIZATION_HELPER
public static AuthorizationHelper getInstance(javax.faces.context.FacesContext facesContext)
public boolean isAuthorized(javax.faces.context.FacesContext facesContext, String expression)
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.