public final class AuthUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
authorizeUsingAccessExpression(org.thymeleaf.context.IExpressionContext context,
String accessExpression,
org.springframework.security.core.Authentication authentication,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext) |
static boolean |
authorizeUsingUrlCheck(String url,
String method,
org.springframework.security.core.Authentication authentication,
javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext servletContext) |
static org.springframework.security.core.Authentication |
getAuthenticationObject() |
static Object |
getAuthenticationProperty(org.springframework.security.core.Authentication authentication,
String property) |
static org.springframework.context.ApplicationContext |
getContext(javax.servlet.ServletContext servletContext) |
public static org.springframework.security.core.Authentication getAuthenticationObject()
public static Object getAuthenticationProperty(org.springframework.security.core.Authentication authentication, String property)
public static boolean authorizeUsingAccessExpression(org.thymeleaf.context.IExpressionContext context,
String accessExpression,
org.springframework.security.core.Authentication authentication,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext)
public static boolean authorizeUsingUrlCheck(String url, String method, org.springframework.security.core.Authentication authentication, javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext servletContext)
public static org.springframework.context.ApplicationContext getContext(javax.servlet.ServletContext servletContext)
Copyright © 2017 The THYMELEAF team. All rights reserved.