Custom Remote User Handler
Christopher Bland
chris at fdu.edu
Tue Mar 6 18:24:18 GMT 2012
Chad,
Thanks for the link to IdpUserAuthn doc. I had read it before dealing
with another issue but totally missed my current need to specify the
authentication method in Google's custom relying party tag. Do you think
that the following changes will work:
relying-party.xml
<RelyingParty id="google.com"
provider="https://idp.fdu.edu/idp/shibboleth"
defaultAuthenticationMethod="??????? not sure of appropriate class for
remote user ???????"
defaultSigningCredentialRef="IdPCredential">
<ProfileConfiguration xsi:type="saml:SAML2SSOProfile"
encryptAssertions="never" encryptNameIds="never" />
</RelyingParty>
handler.xml
<ph:LoginHandler xsi:type="ph:RemoteUser">
<ph:protectedServletPath="/idp/Authn/GoogleApps">
<ph:AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:?????????</ph:AuthenticationMethod>
(don't want to use unspecified because then it becomes default)
</ph:LoginHandler>
web.xml
<servlet>
<servlet-name>GoogleAppsAuthHandler</servlet-name>
<servlet-class>edu.internet2.middleware.shibboleth.idp.authn.provider.RemoteUserAuthServlet</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>GoogleAppsAuthHandler</servlet-name>
<url-pattern>/Authn/GoogleApps</url-pattern>
</servlet-mapping>
http.conf
<Location /idp/Authn/GoogleApps>
AuthType Basic AuthName "Identity Provider Authentication"
AuthUserFile /PATH/TO/USER/FILE
require valid-user
</Location>
-Chris
On 3/6/12 12:18 PM, Chad La Joie wrote:
> Well, I think you're just confused about SAML in general. The public
> interface to the IdP are the SAML endpoints that it exposes. When the
> request that comes in is an authentication request then the IdP will
> try to authenticate a user via one of its configured authentication
> mechanisms. This document talks about how the authentication
> mechanism is selected:
> https://wiki.shibboleth.net/confluence/display/SHIB2/IdPUserAuthn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20120306/c829c6e8/attachment.html
More information about the users
mailing list