Hi Sergey,
I've been looking at Adam Bien article
http://www.oracle.com/technetwork/articles/java/jaxrs20-1929352.html where
those filters are explained e.g.:
@Provider
@PreMatching
public class PreMatchingFilter implements ContainerRequestFilter {
public void filter(ContainerRequestContext requestContext) throws
IOException {
....
....
}
}
I see i could have access to requestContext that would provide access also
to SecurityContext, headers, Request, and other information.
Would this be enough? ... or still "injected with HttpServletRequest (into a
@Context-annotated field)" would be useful?
I've been able to declare it easily as a provider in the jaxrs:server and it
looks like it is working.
I see i can access SecurityContext but getUserPrincipal() returns null at
this moment, of course.
Thanks,
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-Restful-Web-Service-with-Apache-Shiro-tp5737956p5737979.html
Sent from the cxf-user mailing list archive at Nabble.com.