com.mizhousoft.boot.authentication.servlet.SecureHttpServletResponse Maven / Gradle / Ivy
The newest version!
package com.mizhousoft.boot.authentication.servlet;
import org.apache.shiro.web.servlet.ShiroHttpServletRequest;
import org.apache.shiro.web.servlet.ShiroHttpServletResponse;
import jakarta.servlet.ServletContext;
import jakarta.servlet.http.HttpServletResponse;
/**
* 安全的HttpServletResponse
*
* @version
*/
public class SecureHttpServletResponse extends ShiroHttpServletResponse
{
/**
* 构造函数
*
* @param wrapped
* @param context
* @param request
*/
public SecureHttpServletResponse(HttpServletResponse wrapped, ServletContext context,
ShiroHttpServletRequest request)
{
super(wrapped, context, request);
}
/**
* 转换URL
*
* @param url
* @param sessionId
* @return
*/
protected String toEncoded(String url, String sessionId)
{
return url;
}
}