Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Implementation Steps:

  1. Remove the dual login by removing the hidden login screen for administrative users. 
  2. Create a means for admin users to toggle between regular (blue) access and their admin (yellow) features. 
  3. Implement CAS to replace the LDAP authentication.

Results:

  • The image on the left shows all the files that were either created, modified, or modified removed to implement steps 1-3 above.

Note: 

  • Class:  edu.hawaii.its.authen.cas.SessionFactoryImpl replaces
    • edu.hawaii.its.authen.LoginAction
    • edu.hawaii.its.authen.LoginDisplay
    • edu.hawaii.its.authen.InternalLoginDisplay
  • web.xml
    • CAS <filter-mapping> was initially filtering all "/*" patterns, but this affected the call to public resources.  Instead, we needed to filter only "*.do" patterns as the example below shows.
    •  

          <!--  CAS filter mapping -->

       

          <filter-mapping>

       

            <filter-name>cas</filter-name>

       

            <url-pattern>*.do</url-pattern>

       

          </filter-mapping>