Changes between Version 2 and Version 3 of GrouperUIInstall
- Timestamp:
- 06/15/13 09:21:24 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GrouperUIInstall
v2 v3 101 101 2. In the /etc/shibboleth/shibboleth2.xml file: 102 102 103 a )Set the entityID of the SP. And add "bannerid" to the front of the REMOTE_USER values. This is done so that REMOTE_USER gets set as the authenticated users' BannerID, which then gets passed to Tomcat and available for the Grouper UI. Authentication in the Grouper UI will work if REMOTE_USER is either the subject id (which is the case here) or a subject identifier.103 a. Set the entityID of the SP. And add "bannerid" to the front of the REMOTE_USER values. This is done so that REMOTE_USER gets set as the authenticated users' BannerID, which then gets passed to Tomcat and available for the Grouper UI. Authentication in the Grouper UI will work if REMOTE_USER is either the subject id (which is the case here) or a subject identifier. 104 104 105 105 {{{ … … 110 110 111 111 112 b )Add the reference to the metadata file. Replace the following:112 b. Add the reference to the metadata file. Replace the following: 113 113 114 114 {{{ … … 126 126 127 127 128 c )Add the entityID of the IdP. Replace the following:128 c. Add the entityID of the IdP. Replace the following: 129 129 130 130 {{{ … … 160 160 [ OK ] 161 161 }}} 162 163 164 165 == Configure Apache == 166 167 1. Configure mod_proxy_ajp. Add the file /etc/httpd/conf.d/proxy_ajp.conf with the contents: 168 169 {{{ 170 LoadModule proxy_module modules/mod_proxy.so 171 LoadModule proxy_ajp_module modules/mod_proxy_ajp.so 172 173 ProxyPass /grouper/ ajp://localhost:8009/grouper/ 174 }}} 175 176 2. Add the following to the end of /etc/httpd/conf.d/shib.conf to require Shibboleth 177 178 {{{ 179 <Location /> 180 AuthType shibboleth 181 ShibRequestSetting requireSession 1 182 require valid-user 183 </Location> 184 }}} 185 186 3. Restart Apache 187 188 {{{ 189 [root@grinnell conf.d]# /etc/init.d/httpd restart 190 Stopping httpd: [ OK ] 191 Starting httpd: [ OK ] 192 [root@grinnell conf.d]# 193 }}} 194 195 196 197 == Configure Tomcat == 198 199 1. In the file /etc/tomcat6/server.xml, make sure the AJP connector listening on port 8009 is not commented out and make sure request.tomcatAuthentication is set to false. 200 201 {{{ 202 <!-- Define an AJP 1.3 Connector on port 8009 --> 203 <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" request.tomcatAuthentication="false" /> 204 }}} 205 206 2. Restart Tomcat 207 208 {{{ 209 [root@grinnell tomcat6]# /etc/init.d/tomcat6 stop 210 Stopping tomcat6: [ OK ] 211 [root@grinnell tomcat6]# ps -ef | grep -i tomcat 212 root 18377 7627 0 09:21 pts/3 00:00:00 grep -i tomcat 213 [root@grinnell tomcat6]# /etc/init.d/tomcat6 start 214 Starting tomcat6: [ OK ] 215 }}}