Shibboleth IdP 3 External Authn isPassive

Cantor, Scott cantor.2 at osu.edu
Mon Dec 22 20:11:17 EST 2014


> For example, should you set:
> 
> request.setAttribute(ExternalAuthentication.PRINCIPAL_NAME_KEY, null);
> ExternalAuthentication.finishExternalAuthentication(key, request,
> response);
> 
> Or, just finish without setting the PRINCIPAL_NAME_KEY name?

If you're asking how you signal that you can't authenticate, you can set either the ERROR or EXCEPTION keys. There is no reason to ever set anything to null explicitly, it's already null if it's not set.

-- Scott



More information about the users mailing list