Package org.apache.shiro.authc
Interface LogoutAware
-
- All Known Implementing Classes:
AbstractAuthenticator,AbstractLdapRealm,ActiveDirectoryRealm,AuthenticatingRealm,AuthorizingRealm,CachingRealm,DefaultLdapRealm,IniRealm,JdbcRealm,JndiLdapRealm,ModularRealmAuthenticator,PropertiesRealm,SimpleAccountRealm,TextConfigurationRealm
public interface LogoutAwareAn 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonLogout(PrincipalCollection principals)Callback triggered when aSubjectlogs out of the system.
-
-
-
Method Detail
-
onLogout
void onLogout(PrincipalCollection principals)
Callback triggered when aSubjectlogs out of the system.- Parameters:
principals- the identifying principals of the Subject logging out.
-
-