public class SessionAttributeWhitelist extends AbstractSessionAttributeAccessController
Constructor and Description |
---|
SessionAttributeWhitelist() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowForAttribute(String name,
Class<?> type) |
void |
init(SessionConfig sessionConfig) |
protected Object |
readInvalidAttribute(String name,
Object value) |
void |
setAllowedAttributes(Map<String,Class<?>> allowedAttributes) |
protected Object |
writeInvalidAttribute(String name,
Object value) |
onRead, onWrite
public void init(SessionConfig sessionConfig)
init
in interface SessionInterceptor
init
in class AbstractSessionAttributeAccessController
protected boolean allowForAttribute(String name, Class<?> type)
allowForAttribute
in class AbstractSessionAttributeAccessController
protected Object readInvalidAttribute(String name, Object value)
readInvalidAttribute
in class AbstractSessionAttributeAccessController
protected Object writeInvalidAttribute(String name, Object value)
writeInvalidAttribute
in class AbstractSessionAttributeAccessController
Copyright © 2006–2018 TinyGroup. All rights reserved.