By: Gene Liverman user 05 Oct 2016 at 1:58 p.m. CDT

3 Responses
Gene Liverman gravatar
I am working with our university system office to setup our Gluu IdP behind their Gluu IdP proxy (Asimba) and, using the stock setup on my end, login requests from the proxy get sent to `https://my-gluu-server/idp/Authn/UserPassword`. After looking at [this support page entry](https://support.gluu.org/integrations/idp-invalid-attribute-description-2613/#at9617) it seems this should never happen as that page is not used by Gluu. After finding [this other support entry](https://support.gluu.org/integrations/saml2-asimba-idp-proxy-scenario-strange-final-saml2-response-3250/#at14948) I tried commenting out the block below in `/opt/tomcat/conf/shibboleth2/idp/handler.xml.vm`: ```xml <!-- Username/password login handler --> <ph:LoginHandler xsi:type="ph:UsernamePassword" jaasConfigurationLocation="file:///opt/idp/conf/login.config"> <ph:AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</ph:AuthenticationMethod> </ph:LoginHandler> ``` I bounced the entire container and now login works exactly as expected. Per [this entry by Mohib Zico](https://support.gluu.org/integrations/idp-invalid-attribute-description-2613/#at9652) I should not have had to do this but per [this GitHub issue](https://github.com/GluuFederation/oxIdp/issues/6) you all do not support `urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport` being sent by the SP. So here are my quandaries: 1. Your instance of Asimba seems to be sending `urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport` 2. I can't always keep an SP from sending that setting as is the case here. 3. Your GitHub says that setting is not supported 4. Your support site says I should not have to modify the stock setup to make things work. Based on all this, how should I be dealing with this issue? Should I be modifying `/opt/tomcat/conf/shibboleth2/idp/handler.xml.vm` or is this something that you all can patch in the next releases?

By Aliaksandr Samuseu staff 05 Oct 2016 at 2:12 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Gene. Not sure what your actual issue is. If I got you right, commenting out the `UsernamePassword` handler resolved this for you, i.e. now your user won't be redirected to Shib's own login page even in case SP or Asimba will use `urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport` auth classref. Is it correct? This login handler will be soon removed completely, I guess, I remeber there was another github report created by Michael, instructing dev team to do so. Best regards, Alex.

By Gene Liverman user 05 Oct 2016 at 2:39 p.m. CDT

Gene Liverman gravatar
Good Afternoon Aliaksandr, Yes, commenting out the block of code resolves it for me but I was not sure if I would need to continue making that edit in the future of if the login handler was being removed. It seems the latter is the case so I will just put the edit on each box for now and move on. Thanks!

By Aliaksandr Samuseu staff 05 Oct 2016 at 2:58 p.m. CDT

Aliaksandr Samuseu gravatar
Sure, closing it then.