public abstract class SecureComponent
extends javax.faces.component.UIOutput
OBS: Your subclass is responsible for saving the state of the component. See PrincipalTag
's
StateHolder Methods for an exemple.
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
SecureComponent() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doEncodeAll(javax.faces.context.FacesContext ctx) |
void |
encodeAll(javax.faces.context.FacesContext ctx) |
protected org.apache.shiro.subject.Subject |
getSubject() |
protected void |
verifyAttributes() |
clearInitialState, getConverter, getFamily, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValue
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
protected org.apache.shiro.subject.Subject getSubject()
public void encodeAll(javax.faces.context.FacesContext ctx) throws IOException
encodeAll
in class javax.faces.component.UIComponent
IOException
protected void verifyAttributes() throws IOException
IOException
protected abstract void doEncodeAll(javax.faces.context.FacesContext ctx) throws IOException
IOException
Copyright © 2014. All Rights Reserved.