org.wicketstuff.shiro.ShiroServletRequestModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicket-shiro Show documentation
Show all versions of wicket-shiro Show documentation
Shiro Security for Apache Wicket. (Shiro was formerly known as Apache Ki and JSecurity)
package org.wicketstuff.shiro;
import javax.servlet.http.HttpServletRequest;
import org.apache.wicket.RequestCycle;
import org.apache.wicket.model.LoadableDetachableModel;
import org.apache.wicket.protocol.http.WebRequestCycle;
public class ShiroServletRequestModel extends LoadableDetachableModel
{
@Override
protected HttpServletRequest load() {
return ((WebRequestCycle)RequestCycle.get()).getWebRequest().getHttpServletRequest();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy