...
The module is a dll that can be download here https://sourcesup.cru.fr/projects/cas.netcas4net and the installation is quite simple
...
Just drop casModule.dll in the BIN folder of the root directory of the application and add the following to the web.config file in the root directory
No Format |
---|
<appSettings> <add key="loginUrl" value="https://cas.server/login" /> <add key="validateUrl" value="https://cas.server/serviceValidate" /> <add key="logoutUrl" value="https://cas.server/logout" /> </appSettings> |
...
an httpModules tag to declare the module.It is not even necessary
to declare an authentication tag in the config file. Last, you have to disable any default authentication in asp.net by turning the authentication mode to None in the <system.web> section
Code Block |
---|
<authentication mode="None">
</authentication>
<authorization>
<allow users="*"/>
</authorization>
|
As every request is intercepted by the module, only authenticated user gains access to the application. Of course you also have to deal with authorization, here every authenticated user is allowed to process the application.
For IIS 7, the configuration file is slightly different for the module part, so to better use the new IIS manager UI to have the job done. Add the module with the module config, the application setting with the application settings, disable all authentication module except anonymous.
Windows Sharepoint Services 3
...
I am also planning to rapidly test this module in an IIS 7 autentication pipe line. I have no idea yet on how to handle the user id the application.
And of course other your demandfeedback.
et pour les français vous pouvez lire mon article sur techHeadBrothers.com
Jean Marie