How to wire a verifier to a 2.0m5 Restlet using the spring extension and an xml config?

Posted by Kevin Pauli on Stack Overflow See other posts from Stack Overflow or by Kevin Pauli
Published on 2009-12-08T21:45:54Z Indexed on 2010/05/13 3:34 UTC
Read the original article Hit count: 249

Filed under:
|
|

I can't seem to find any example of how to do this. Imperatively in java it would be a piece of cake of course, but I can't seem to figure out how to inject my JaasVerifier into my SpringComponent declaratively from within the xml.

It appears from the method signatures that Verifier is designed to be attached to Context, but the instance of Context itself is created as a side effect of the SpringComponent creation so I can't get a hold of it in Spring. There must be something I am missing.

© Stack Overflow or respective owner

Related posts about restlet

Related posts about java