Juniper Secure Access as a Shib/SAML SP

Patrick Le ple at jhmi.edu
Thu Apr 18 19:50:01 EDT 2013


Does anyone have any experience integrating SAML 2.0 authentication against Juniper Secure Access with Shibboleth as the IDP?

I'm having issues getting the Juniper appliance to pick up the userID from the attribute assertion. On the juniper appliance under the "Auth Server" configuration page, there is a "User Name Template" field where you're supposed to define the attribute name for the userID. Examples given by juniper are:

Example: <assertionNameDN.uid>, uid from X509SubjectName.
The entire assertion name identifier if not specified; Or
<userAttr.attr>, attr from AttributeStatement attributes.


I first tried to leave the field blank so that it gets the name identifier from the entire assertion. That allows me to login, but the UserID from the juniper logs is some random string of numbers which means nothing to us because we can't correlate that back to an actual user. I tried various other methods like:

1)      <userAttr.urn:oid:XXX.XXX.XXXX> (where XXX is the object identifier for our userID attribute)

2)      urn:oid:XXX.XXX.XXXX

3)      <userAttr.EPPN>

4)      <UserAttr.uid>

5)      uid


6)      When I use the examples that begin with "<" and end in ">", I get "Invalid Assertion Error" on the juniper side after authenticating. If I leave out the brackets, the value that gets returned as the UserID is literally what is typed in the Name Template Field. So in example 2, the signed in user was "urn:oid:XXX.XXX.XXXX" and example 5 returned "uid"


Juniper support has been less than helpful, so I'm hoping I'll get better luck on the shib users list.

Thanks

Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130418/12c595fb/attachment.html 


More information about the users mailing list