Hi,

Apologies up front for my scrambled question.

My app uses 3 authentication realms (A, B, C). At any given time, either A or B (not both) will authenticate, then C will authenticate.

Realm C would needs to use some data (the securityId) that was discovered/authenticated by realm A or B (returned in an AuthenticationInfo object).

Using the AuthenticatingRealm API, the only info realm C has access to is the authenticationToken used by by realm A or B (via: interface AuthenticatingRealm.doGetAuthenticationInfo(AuthenticationToken t) ).

By the time realm C is invoked via doGetAuthenticationInfo(t), I know realm A or B will have already been invoked. If that invocation succeeded, the AuthenticationInfo object A or B produced will contain the info realm C would like to use.

I just can't find any way for realm C to read the AuthenticationInfo produced by realm A or B. Any way to read this info?

Is there a better way to do this sort of "realm chaining"?

If I am miss using the framework, please let me know that too.

Thanks!
Dan

Reply via email to