All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wicketstuff.shiro.ShiroServletRequestModel Maven / Gradle / Ivy

Go to download

Shiro Security for Apache Wicket. (Shiro was formerly known as Apache Ki and JSecurity)

There is a newer version: 1.5-RC5.1
Show newest version
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