Versions Compared

Key

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

...

This property declaration:

Code Block
xml
xml

<property name="authenticationHandlers">

...


  <list>
   <!--

...

This is the authentication handler that authenticates services by means of callback via SSL, thereby validating

...


    | This is the authentication handler that authenticates services by means of callback via SSL, thereby validating
    | a server side SSL certificate.
    +-->
   <bean class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler"

...


    p:httpClient-ref="httpClient"

...

 >
     <!-- THIS IS NOT SECURE.  PLEASE CHANGE BEFORE DEPLOYING TO PRODUCTION ENVIRONMENTS. -->

...


      <property name="requireSecure" value="false"/>

...


     </bean>

...


     <!--

...

This is the authentication handler declaration that every CAS deployer will need to change before deploying CAS

...

into production. The default SimpleTestUsernamePasswordAuthenticationHandler authenticates UsernamePasswordCredentials

...

where the username equals the password. You will need to replace this with an AuthenticationHandler that implements your

...

local authentication strategy. You might accomplish this by coding a new such handler and declaring


      | This is the authentication handler declaration that every CAS deployer will need to change before deploying CAS 
      | into production.  The default SimpleTestUsernamePasswordAuthenticationHandler authenticates UsernamePasswordCredentials
      | where the username equals the password.  You will need to replace this with an AuthenticationHandler that implements your
      | local authentication strategy.  You might accomplish this by coding a new such handler and declaring
      | edu.someschool.its.cas.MySpecialHandler here, or you might use one of the handlers provided in the adaptors modules.

...


      +-->

...


		<bean
			class="org.jasig.portal.cas.authentication.handler.support.PersonDirAuthenticationHandler"

...

 
            p:user-password-dao-ref="userPasswordDao" />

...


	</list>

...


</property>

...


Becomes this:

Code Block
xml
xml

<property name="authenticationHandlers">

...


	<list>

...


	<!--

...


	 | This is the authentication handler that authenticates services by means of callback via SSL, thereby

...

 validating
         | a server side SSL certificate.
         +-->
          <bean class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler"

...


			p:httpClient-ref="httpClient" >

...


			<!-- THIS IS NOT SECURE.  PLEASE CHANGE BEFORE DEPLOYING TO PRODUCTION ENVIRONMENTS. -->

...


			<property name="requireSecure" value="false"/>

...


	   </bean>

...



	   <bean
			class="org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler" />

...


	</list>

...


</property>

...


The deployerConfigContext.xml file as it ships with uPortal 3.1.0 M2 is included in the "before" folder alongside this file if you're reading this as a PDF distributed in the seminar and is available from Jasig SVN so if you accidentally mangle the file and want the original back, simply replace with a fresh copy.

...