public class ServletSecurity extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.hadoop.hive.metastore.ServletSecurity.MethodExecutor executor)
The method to call to secure the execution of a (http) method.
|
void |
init()
Should be called in Servlet.init()
|
public void init()
throws javax.servlet.ServletException
javax.servlet.ServletException - if the jwt validator creation throws an exceptionpublic void execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.hadoop.hive.metastore.ServletSecurity.MethodExecutor executor)
throws javax.servlet.ServletException,
IOException
request - the requestresponse - the responseexecutor - the method executorjavax.servlet.ServletException - if the method executor failsIOException - if the Json in/out failCopyright © 2024 The Apache Software Foundation. All rights reserved.