MCPcopy Create free account
hub / github.com/apache/shiro / setAttribute

Method setAttribute

core/src/main/java/org/apache/shiro/session/Session.java:199–199  ·  view source on GitHub ↗

Binds the specified value to this session, uniquely identified by the specified key name. If there is already an object bound under the key name, that existing object will be replaced by the new value. If the value parameter is null, it has the same effe

(Object key, Object value)

Source from the content-addressed store, hash-verified

197 * this method.
198 */
199 void setAttribute(Object key, Object value) throws InvalidSessionException;
200
201 /**
202 * Removes (unbinds) the object bound to this session under the specified {@code key} name.

Callers 15

mainMethod · 0.95
setValueMethod · 0.95
mainMethod · 0.95
testDefaultConfigMethod · 0.95
pushIdentityMethod · 0.95
popIdentityMethod · 0.95
mergePrincipalsMethod · 0.95

Implementers 4

ProxiedSessioncore/src/main/java/org/apache/shiro/se
DelegatingSessioncore/src/main/java/org/apache/shiro/se
HttpServletSessionweb/src/main/java/org/apache/shiro/web
SimpleSessioncore/src/main/java/org/apache/shiro/se

Calls

no outgoing calls