Package org.apache.solr.security
Class AuthorizationUtils
- java.lang.Object
-
- org.apache.solr.security.AuthorizationUtils
-
public class AuthorizationUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthorizationUtils.AuthorizationFailure
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthorizationUtils.AuthorizationFailure
authorize(javax.servlet.http.HttpServletRequest servletReq, javax.servlet.http.HttpServletResponse response, CoreContainer cores, AuthorizationContext context)
static List<AuthorizationContext.CollectionRequest>
getCollectionRequests(String path, List<String> collectionNames, org.apache.solr.common.params.SolrParams params)
-
-
-
Method Detail
-
authorize
public static AuthorizationUtils.AuthorizationFailure authorize(javax.servlet.http.HttpServletRequest servletReq, javax.servlet.http.HttpServletResponse response, CoreContainer cores, AuthorizationContext context) throws IOException
- Throws:
IOException
-
getCollectionRequests
public static List<AuthorizationContext.CollectionRequest> getCollectionRequests(String path, List<String> collectionNames, org.apache.solr.common.params.SolrParams params)
-
-