Mark,
Are you suggesting to implement the filter within the custom auth context or on the overal portal context?
With OpenID, the idea is that the target application is very loosely coupled with the identity provider. At the time that the auth request is made on MWS, we do not know anything about the token that the browser has.
Essentially, this means that every auth request requires a redirect.
What happens is that if the idp verifies the token and the session is valid, the browser is redirected to a url that is provided as part of the request. This is where the MWS auth handler will then read the user information and fill in the AuthInfo object.
You don’t want to do this if the user is logged in, so using a filter could work provided if it is only activated when MWS really is asking for authentication (which I assume when the auth handler is called that is what MWS is asking).
As there is scarce documentation on the authentication mechanism of MWS, are you able to provide a url for a filter that would only be matched when an authentication request is initiated?
#webMethods-BPMS#MWS-CAF-Task-Engine#webMethods