|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Authentication
altogether
(see NonSerializableSecurityContext
), so there's no need to use this mechanism.
public interface InvalidatableUserDetails
UserDetails
that can mark Authentication
invalid.
Tomcat persists sessions by using Java serialization (and
that includes the security token created by Acegi, which includes this object)
and when that happens, the next time the server comes back
it will try to deserialize SecurityContext
that Acegi
puts into HttpSession
(which transitively includes UserDetails
that can be implemented by Hudson.
Such UserDetails
implementation can override the isInvalid()
method and return false, so that such SecurityContext
will be
dropped before the rest of Acegi sees it.
See JENKINS-1482
Method Summary | |
---|---|
boolean |
isInvalid()
Deprecated. |
Methods inherited from interface org.acegisecurity.userdetails.UserDetails |
---|
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled |
Method Detail |
---|
boolean isInvalid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |