org.jboss.seam.ui
Class ClientUidSelector

java.lang.Object
  extended by org.jboss.seam.core.AbstractMutable
      extended by org.jboss.seam.faces.Selector
          extended by org.jboss.seam.ui.ClientUidSelector
All Implemented Interfaces:
Serializable, org.jboss.seam.core.Mutable

@Name(value="org.jboss.seam.ui.clientUidSelector")
public class ClientUidSelector
extends org.jboss.seam.faces.Selector

A selector which manages the cookie that gives the browser a unique identifier. This value is shared only between the browser and the server, thus allowing the server to determine if two distinct requests were made by the same source.

The identifier is stored in a cookie named javax.faces.ClientToken.

Author:
Dan Allen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.seam.faces.Selector
DEFAULT_MAX_AGE
 
Constructor Summary
ClientUidSelector()
           
 
Method Summary
 String getClientUid()
           
protected  String getCookieName()
           
 boolean isSet()
           
 void onCreate()
           
 void seed()
           
 
Methods inherited from class org.jboss.seam.faces.Selector
clearCookieValue, getCookie, getCookieMaxAge, getCookiePath, getCookieValue, getCookieValueIfEnabled, isCookieEnabled, setCookieEnabled, setCookieMaxAge, setCookiePath, setCookieValueIfEnabled
 
Methods inherited from class org.jboss.seam.core.AbstractMutable
clearDirty, setDirty, setDirty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientUidSelector

public ClientUidSelector()
Method Detail

onCreate

@Create
public void onCreate()

seed

public void seed()

isSet

public boolean isSet()

getClientUid

public String getClientUid()

getCookieName

protected String getCookieName()
Specified by:
getCookieName in class org.jboss.seam.faces.Selector


Copyright © 2011 Seam Framework. All Rights Reserved.