Class KeyFactorySecureRandom
java.lang.Object
org.apache.myfaces.application.viewstate.KeyFactorySecureRandom
This factory generate a key composed by a counter and a random number. The
 counter ensures uniqueness, and the random number prevents guess the next
 session token.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]Decode a view state session token into a keyencode(byte[] key) Encode a Key into a value that will be used as view state session tokengenerateCounterKey(FacesContext facesContext) byte[]generateKey(FacesContext facesContext) Generates a unique key per session
- 
Constructor Details- 
KeyFactorySecureRandom
 
- 
- 
Method Details- 
generateCounterKey
- 
generateKeyGenerates a unique key per session
- 
encodeEncode a Key into a value that will be used as view state session token
- 
decodeDecode a view state session token into a key
 
-