|
Seam UI JSF2 support 2.3.1.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
org.jboss.seam.ui.component.UIToken
org.jboss.seam.ui.component.html.HtmlToken
@Generated(value={"RichFaces CDK","4.3.1.Final-redhat-1"}) public class HtmlToken
Render a secure token in the parent form that is validated on postback to guard against CSRF attacks
Nested Class Summary | |
---|---|
protected static class |
HtmlToken.Properties
|
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UIComponent |
---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
Constructor Summary | |
---|---|
HtmlToken()
|
Method Summary | |
---|---|
String |
getFamily()
|
boolean |
isAllowMultiplePosts()
Indicates whether to allow the same form to be submitted multiple times with the same signature (as long as the view does not change). |
boolean |
isEnableCookieNotice()
Indicates whether a JavaScript check should be inserted into the page to verify that cookies are enabled in the browser. |
boolean |
isRequireSession()
Indicates whether the session id should be included in the form signature, hence binding the token to the session. |
void |
setAllowMultiplePosts(boolean allowMultiplePosts)
|
void |
setEnableCookieNotice(boolean enableCookieNotice)
|
void |
setRequireSession(boolean requireSession)
|
Methods inherited from class org.jboss.seam.ui.component.UIToken |
---|
getClientUid, getClientUidSelector, getParentForm |
Methods inherited from class javax.faces.component.UIOutput |
---|
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
Constructor Detail |
---|
public HtmlToken()
Method Detail |
---|
public String getFamily()
getFamily
in class javax.faces.component.UIOutput
public boolean isAllowMultiplePosts()
UIToken
isAllowMultiplePosts
in class UIToken
public void setAllowMultiplePosts(boolean allowMultiplePosts)
setAllowMultiplePosts
in class UIToken
public boolean isEnableCookieNotice()
UIToken
isEnableCookieNotice
in class UIToken
public void setEnableCookieNotice(boolean enableCookieNotice)
setEnableCookieNotice
in class UIToken
public boolean isRequireSession()
UIToken
isRequireSession
in class UIToken
public void setRequireSession(boolean requireSession)
setRequireSession
in class UIToken
|
Seam UI JSF2 support 2.3.1.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |