Changes between Version 6 and Version 7 of GrouperUIInstall


Ignore:
Timestamp:
06/15/13 10:39:13 (11 years ago)
Author:
uaguest_SPatel1@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GrouperUIInstall

    v6 v7  
    258258As far as customizations go, for now just replace all instances of ${grouper.home} with /usr/share/tomcat6/.  This is so that Grouper logs generated by the UI are placed in /usr/share/tomcat6/logs. 
    259259 
    260 5.  Build the WAR file by simply running 'ant war'. 
     2605.  Remove the security-constraint, login-config, and security-role elements from the file webapp/WEB-INF/web.core.xml. 
     261 
     262{{{ 
     263   <security-constraint> 
     264    <web-resource-collection> 
     265      <web-resource-name>Tomcat login</web-resource-name> 
     266      <url-pattern>/login.do</url-pattern> 
     267    </web-resource-collection> 
     268    <auth-constraint> 
     269       <!-- NOTE:  This role is not present in the default users file --> 
     270       <role-name>@grouper.role@</role-name> 
     271    </auth-constraint> 
     272  </security-constraint> 
     273 
     274  <!-- Define the Login Configuration for this Application --> 
     275  <login-config> 
     276    <auth-method>BASIC</auth-method> 
     277    <realm-name>Grouper Application</realm-name> 
     278  </login-config> 
     279 
     280  <!-- Security roles referenced by this web application --> 
     281  <security-role> 
     282    <description> 
     283      The role that is required to log in to the Grouper UI 
     284    </description> 
     285    <role-name>@grouper.role@</role-name> 
     286  </security-role> 
     287}}} 
     288 
     2896.  Remove the security-constraint elements from the file webapp/WEB-INF/web.ajax.xml. 
     290 
     291{{{ 
     292  <security-constraint> 
     293    <web-resource-collection> 
     294      <web-resource-name>UI</web-resource-name> 
     295      <url-pattern>/grouperUi/app/*</url-pattern> 
     296    </web-resource-collection> 
     297    <auth-constraint> 
     298      <role-name>*</role-name> 
     299    </auth-constraint> 
     300  </security-constraint> 
     301 
     302  <security-constraint> 
     303    <web-resource-collection> 
     304      <web-resource-name>UI</web-resource-name> 
     305      <url-pattern>/grouperUi/appHtml/*</url-pattern> 
     306    </web-resource-collection> 
     307    <auth-constraint> 
     308      <role-name>*</role-name> 
     309    </auth-constraint> 
     310  </security-constraint> 
     311 
     312  <security-constraint> 
     313    <web-resource-collection> 
     314      <web-resource-name>UI</web-resource-name> 
     315      <url-pattern>/grouperExternal/app/*</url-pattern> 
     316    </web-resource-collection> 
     317    <auth-constraint> 
     318      <role-name>*</role-name> 
     319    </auth-constraint> 
     320  </security-constraint> 
     321 
     322  <security-constraint> 
     323    <web-resource-collection> 
     324      <web-resource-name>UI</web-resource-name> 
     325      <url-pattern>/grouperExternal/appHtml/*</url-pattern> 
     326    </web-resource-collection> 
     327    <auth-constraint> 
     328      <role-name>*</role-name> 
     329    </auth-constraint> 
     330  </security-constraint> 
     331}}} 
     332 
     3337.  Build the WAR file by simply running 'ant war'. 
    261334 
    262335{{{ 
     
    381454 
    382455BUILD SUCCESSFUL 
    383 Total time: 24 seconds 
    384 [root@grinnell grouper.ui-2.1.4]# 
    385 }}} 
    386  
    387 6.  Copy WAR to Tomcat. 
     456Total time: 44 seconds 
     457}}} 
     458 
     4598.  Copy WAR to Tomcat. 
    388460 
    389461{{{ 
     
    391463}}} 
    392464 
    393 7.  Restart Tomcat 
     4659.  Restart Tomcat 
    394466 
    395467{{{