Hi all,
I'm using the Shiro security framework for the project I'm
working on. In the framework, the subject (basically the user) is bound to the
thread and unbound through the J2EE filter chain. My plan was to just shove
this subject object into the Session, but the authors of the framework really
suggest binding and unbinding this object to the request thread . The problem
is... I have no idea how that would be done in WO. Would I have to override
createRequest in Application? I was thinking something like...
createRequest(params...) {
Subject.execute(new Callable() {
public Object call() throws Exception {
super.createRequest(params...);
}
}
}
Any other suggestions? I'm not sure something like this would even work.
Thanks.
-Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]