SubjectCanonicalizationContext Initialization
Marvin Addison
marvin.addison at gmail.com
Mon Nov 4 15:56:20 EST 2013
> Very end of AbstractValidationAction#buildAuthenticationResult()
>
> // Transfer the subject to a new c14n context.
>
> profileRequestContext.getSubcontext(SubjectCanonicalizationContext.class,
> true).setSubject(result.getSubject());
Ah, I see. Problem was that I failed to appreciate the abstract
authentication action classes that do some context setup.
> You shouldn't need to, assuming the CAS profile flow is handing off to the
> main authentication subflow.
That's what's happening, but I want to create my own credential
validation action since the JAAS stuff is overly complex for my
simplistic demo. I ended up extending AbstractValidationAction and
that works as expected.
Thanks,
M
More information about the dev
mailing list