NativeSessionManager.removeAttribute

Removes (unbinds) the object bound to associated {@code Session} under the given {@code attributeKey}.

@param sessionKey session key to use to look up the target session. @param attributeKey the key uniquely identifying the object to remove @return the object removed or {@code null} if there was no object bound under the specified {@code attributeKey}. @throws InvalidSessionException if the specified session has stopped or expired prior to calling this method. @see hunt.shiro.session.Session#removeAttribute(Object key)

interface NativeSessionManager
Object
removeAttribute

Meta