public class CrossCookieComposite extends Composite<WtmpManager.Wtmp,CrossCookieComposite> implements LogoutListener
WtmpManager that records cookie values for cross application SSO
The cookie data should be of the format
id-random-data where id is the id of the Wtmp record.
Only the random-data part is actually stored in the data field.| Constructor and Description |
|---|
CrossCookieComposite(WtmpManager fac) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
addSuppress(java.util.Set<java.lang.String> suppress)
generate the class specific set of suppressed fields to be used in form creation/update
The individual forms can override these so you usually use this method to define fields that should
be suppressed in all forms.
|
BaseFilter<WtmpManager.Wtmp> |
getFilter(java.lang.String fulldata)
get a
|
java.lang.String |
getFullData(WtmpManager.Wtmp w)
return the full-data to be stored in the cookie.
|
protected java.lang.Class<? super CrossCookieComposite> |
getType()
Returns the type the composite should be registered under.
|
void |
logout(WtmpManager.Wtmp w) |
TableSpecification |
modifyDefaultTableSpecification(TableSpecification spec,
java.lang.String table)
Modify the
TableSpecification of the target factory. |
addDefaults, addFieldHelp, addOptional, addSelectors, addTranslations, customiseForm, customiseUpdateForm, getContext, getFactory, getLogger, getRecord, getRepository, postUpdate, preRegister, release, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFieldConstraints, addFormFieldspublic CrossCookieComposite(WtmpManager fac)
fac - protected java.lang.Class<? super CrossCookieComposite> getType()
CompositegetType in class Composite<WtmpManager.Wtmp,CrossCookieComposite>public TableSpecification modifyDefaultTableSpecification(TableSpecification spec, java.lang.String table)
TableStructureContributerTableSpecification of the target factory.modifyDefaultTableSpecification in interface TableStructureContributer<WtmpManager.Wtmp>modifyDefaultTableSpecification in class Composite<WtmpManager.Wtmp,CrossCookieComposite>public BaseFilter<WtmpManager.Wtmp> getFilter(java.lang.String fulldata)
fulldata - public java.util.Set<java.lang.String> addSuppress(java.util.Set<java.lang.String> suppress)
TableStructureContributeraddSuppress in interface TableStructureContributer<WtmpManager.Wtmp>addSuppress in class Composite<WtmpManager.Wtmp,CrossCookieComposite>Set of fields to suppress in forms.public java.lang.String getFullData(WtmpManager.Wtmp w) throws DataFault
w - DataFaultpublic void logout(WtmpManager.Wtmp w)
logout in interface LogoutListener