Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Service Now was somewhat of a straight forward implementation once we realized we had access to the script that generates the SAML 2.0 Authentication Request. Since we allow for anonymous SP authentication we modified two scripts on the in Service Now side to send requests that we liked and we were in businessare acceptable. Here are the diff's for the files we modified.

...

This modification was made to get rid of the AuthnContext which required username/password authentication, but since we are using RemoteUser for CAS this was asking too much, so we I just removed it.

Code Block
titleLogin script
jjv6@nomad:~/Desktop/service-now$ diff -cBr login.script login.script.orig 
*** login.script	2011-11-15 09:29:19.938287229 -0500
--- login.script.orig	2011-11-15 09:30:21.798287235 -0500
***************
*** 124,131 ****
          
      this.SAML2.createIssuer(elem);
      this.SAML2.createNameIDPolicy(elem);
!     //var rElem = this.SAML2.createRequestedAuthnContext(elem);
!     //this.SAML2.createAuthnContextClassRef(rElem);
  
      return this.SAML2.getEncodedSAMLRequest(elem);
    },
--- 124,131 ----
          
      this.SAML2.createIssuer(elem);
      this.SAML2.createNameIDPolicy(elem);
!     var rElem = this.SAML2.createRequestedAuthnContext(elem);
!     this.SAML2.createAuthnContextClassRef(rElem);
  
      return this.SAML2.getEncodedSAMLRequest(elem);
    },

...