Shibboleth SP 2.6 and Apache 2.2 config

Lipscomb, Gary glipscomb at csu.edu.au
Sun Jul 23 22:49:53 EDT 2017


Hi list,

We currently restrict access to our Devel and QA environments use a local file on our web server. The current apache conf file [1] is shown. We are changing to use  group membership for this access control and have configured intercepts in the IdP (v3.3.1) to control this (working).

What I'm unsure about are the " ShibRequestSetting requireSession 1" and "require shib-session"  in the proposed new conf [2] doing the same thing. Do I need both or only one of them?

- requireSession (boolean) (defaults to false)
          Master trigger that will require an authenticated session. If none exists, the SP will try to automatically establish one using the default SessionInitiator.

- shib-session (Shibboleth V2.5.2 and Later) (Apache 2.4 and Later OR ShibCompatWith24)
           A rule that requires an authenticated session, but nothing else. No information of any kind about the user is required in order to satisfy this rule and it should never be used in the absence of additional application logic to perform authorization

Regards

Gary

[0] server environ

Server RHEL6
Apache 2.2
Shibboleth SP 2.6


[1] existing .conf config
  <Location />
    AuthType shibboleth
    ShibRequestSetting requireSession 1
    AuthGroupFile /yyyy/auth/webgroups.dat
    AuthDBMGroupFile /yyyy/auth/dbmgroup

    <IfDefine DEVEL>
      ShibRequestSetting applicationId xxxxdevel.csu.edu.au
      require group xxxxdevel
    </IfDefine>

    <IfDefine QA>
      ShibRequestSetting applicationId xxxxqa.csu.edu.au
      require group xxxxqa
    </IfDefine>

    <IfDefine PROD>
      ShibRequestSetting applicationId xxxx.csu.edu.au
      require valid-user
    </IfDefine>

  </Location>



[2] new .conf config

  <Location />
    AuthType shibboleth
    ShibRequestSetting requireSession 1
    ShibCompatWith24 on

    <IfDefine DEVEL>
      ShibRequestSetting applicationId xxxxdevel.csu.edu.au
      require shib-session
    </IfDefine>

    <IfDefine QA>
      ShibRequestSetting applicationId xxxxqa.csu.edu.au
      require shib-session
    </IfDefine>

    <IfDefine PROD>
      ShibRequestSetting applicationId xxxx.csu.edu.au
      require shib-session
    </IfDefine>

  </Location>

|   ALBURY-WODONGA   |   BATHURST   |   CANBERRA   |   DUBBO   |   GOULBURN   |   MELBOURNE   |   ORANGE   |   PORT MACQUARIE   |   SYDNEY   |   WAGGA WAGGA   |

LEGAL NOTICE
This email (and any attachment) is confidential and is intended for the use of the addressee(s) only. If you are not the intended recipient of this email, you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality is not waived or lost by reason of mistaken delivery. Email should be checked for viruses and defects before opening. Charles Sturt University (CSU) does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with CSU may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at CSU. The views expressed in this email are not necessarily those of CSU.
Charles Sturt University in Australia The Grange Chancellery, Panorama Avenue, Bathurst NSW Australia 2795 (ABN: 83 878 708 551; CRICOS Provider Number: 00005F (National)). TEQSA Provider Number: PV12018
Consider the environment before printing this email.


More information about the users mailing list