org.apache.shiro.authc
Interface LogoutAware

All Known Implementing Classes:
AbstractAuthenticator, AbstractLdapRealm, ActiveDirectoryRealm, AuthenticatingRealm, AuthorizingRealm, CachingRealm, CasRealm, IniRealm, JdbcRealm, JndiLdapRealm, ModularRealmAuthenticator, PropertiesRealm, SimpleAccountRealm, TextConfigurationRealm

public interface LogoutAware

An SPI interface allowing cleanup logic to be executed during logout of a previously authenticated Subject/user.

As it is an SPI interface, it is really intended for SPI implementors such as those implementing Realms.

All of Shiro's concrete Realm implementations implement this interface as a convenience for those wishing to subclass them.

Since:
0.9

Method Summary
 void onLogout(PrincipalCollection principals)
          Callback triggered when a Subject logs out of the system.
 

Method Detail

onLogout

void onLogout(PrincipalCollection principals)
Callback triggered when a Subject logs out of the system.

Parameters:
principals - the identifying principals of the Subject logging out.


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.