Package com.priint.pubserver.auth
Class RestSecuredInterceptor
java.lang.Object
com.priint.pubserver.auth.RestSecuredInterceptor
The type RestSecuredInterceptor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninterceptShiroSecurity(jakarta.interceptor.InvocationContext context) Intercept shiro security object.
-
Constructor Details
-
RestSecuredInterceptor
public RestSecuredInterceptor()
-
-
Method Details
-
interceptShiroSecurity
public Object interceptShiroSecurity(jakarta.interceptor.InvocationContext context) throws Exception Intercept shiro security object. If class which uses this interceptor is annotated with @NotSecured, it is not checked by this interceptor.- Parameters:
context- the context- Returns:
- the object
- Throws:
Exception- the exception
-