[Yanel-usage] HEADS UP: Interface enhancement of web authenticator
Michael Wechner
michael.wechner at wyona.com
Thu Jul 4 22:08:51 CEST 2013
Hi
We have enhanced the interface
src/core/java/org/wyona/yanel/core/api/security/WebAuthenticator.java
by introducing a "doLogout()" method, which allows to implement custom
logout functionality and also
makes the code generally cleaner.
Unfortunately this means, that you have to enhance your custom web
authenticator implementations,
whereas in order to have the existing functionality, you just have to add
/**
* @see
org.wyona.yanel.core.api.security.WebAuthenticator#doLogout(HttpServletRequest,
HttpServletResponse, Map)
*/
public boolean doLogout(HttpServletRequest request,
HttpServletResponse response, Map map) throws Exception {
return new
org.wyona.yanel.servlet.security.impl.DefaultWebAuthenticatorImpl().doLogout(request,
response, map);
}
Please apologize any inconvenience this might cause, but we hope that
this change is worth it.
Thanks
Michael
More information about the Yanel-usage
mailing list