Yes, When I go to 

https://localhost:8443/cas/clearPass

<cas:clearPassResponse xmlns:cas='http://www.yale.edu/tp/cas'>
        <cas:clearPassFailure>No authentication information 
provided.</cas:clearPassFailure>
</cas:clearPassResponse>

But after I login from On the cas using 
https://localhost:8443/cas/login?service=https%3a%2f%2flocalhost%2fcoa%2fauth

I get this error on CAS :

2010-05-12 11:03:47,874 ERROR [org.jasig.cas.web.ServiceValidateController] - 
<TicketException generating ticket for: [
allbackUrl: https://localhost/coa/proxyCallback]>
org.jasig.cas.ticket.InvalidTicketException
        at 
org.jasig.cas.CentralAuthenticationServiceImpl.delegateTicketGrantingTicket(CentralAuthenticationServiceImpl
java:268)
        at 
org.jasig.cas.web.ServiceValidateController.handleRequestInternal(ServiceValidateController.java:126)
        at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.jav
INFO:     Additional JARs have been added : 'db2policy.jar'
May 12, 2010 11:03:57 AM org.apache.catalina.core.StandardContext reload


Here are my web.xml settings
        <filter>
                  <filter-name>CAS Validation Filter</filter-name>
                  
<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
                  <init-param>
                    <param-name>casServerUrlPrefix</param-name>
                    <param-value>https://localhost:8443/cas</param-value>
                  </init-param>
                  <init-param>
                    <param-name>serverName</param-name>
                    <param-value>https://localhost:8443/</param-value>
                  </init-param>
                  <init-param>
                     <param-name>exceptionOnValidationFailure</param-name>
                     <param-value>false</param-value>
                  </init-param>
                  <init-param>
                        <param-name>acceptAnyProxy</param-name>
                        <param-value>true</param-value>
                  </init-param>
                  <init-param>
                     <param-name>useSession</param-name>
                     <param-value>false</param-value>
                  </init-param>
                </filter>
                
                <filter>
                  <filter-name>CAS HttpServletRequest Wrapper 
Filter</filter-name>
                  
<filter-class>org.jasig.cas.client.util.HttpServletRequestWrapperFilter</filter-class>
                </filter>
                
                ...
..
..

<filter-mapping>
        <filter-name>CAS Validation Filter</filter-name>
        <url-pattern>/clearPass</url-pattern>
</filter-mapping>

<filter-mapping>
        <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name>
        <url-pattern>/clearPass</url-pattern>
</filter-mapping>

...
...

        <servlet-mapping>
                <servlet-name>cas</servlet-name>
                <url-pattern>/clearPass</url-pattern>
        </servlet-mapping>



-----Original Message-----
From: Francisco Estanqueiro [mailto:[email protected]] 
Sent: Wednesday, May 12, 2010 10:55 AM
To: [email protected]
Subject: Re: [cas-user] CasOwa - help please!!!

Have you verified that clearPass extension is working correctly? 
/cas/clearPass should return something like this:

<cas:clearPassResponse xmlns:cas='http://www.yale.edu/tp/cas'>
        <cas:clearPassFailure>No authentication information 
provided.</cas:clearPassFailure>
</cas:clearPassResponse>



Ganjoo, Vishal wrote:
>
> Hi Bill,
>
>  
>
> I have installed Clearpass Extension and the 
> http://github.com/wgthom/CasOwa
>
> client on IIS server successfully.
>
> Also followed the step in the wiki page by 'Francisco Estanqueiro'
>
> http://www.ja-sig.org/wiki/pages/viewpage.action?pageId=29133913
>
>  
>
> Also, I am using IIS 7. So I have installed ClearPass on Tomcat (443), 
> CASOWA
>
> Client on IIS7 and Outlook owa on the same localhost. I have also 
> created a SSL
>
> certificate for localhost and added in JVM for tomcat and in the IIS 7 
> server.
>
>  
>
>  
>
> Now, I am trying to do the following step, when I try:
>
>  
>
> https://localhost/coa/auth
>
>  
>
> it redirects me to (which is correct)
>
>  
>
> https://localhost:8443/cas/login?service=https%3a%2f%2flocalhost%2fcoa%2fauth
>
>  
>
> After I login, Here is the error I get:
>
>  
>
> HttpContext.Current.User is null.  Check that the DotNetCasClient is 
> mapped and
>
> configured correctly in <web.conf>
>
> Description: An unhandled exception occurred during the execution of the
>
> current web request. Please review the stack trace for more 
> information about
>
> the error and where it originated in the code.
>
>  
>
> Exception Details: System.Web.HttpException: HttpContext.Current.User 
> is null. 
>
> Check that the DotNetCasClient is mapped and configured correctly in 
> <web.conf>
>
>  
>
> Source Error:
>
> Line 139:
>
> Line 140:            // Retrieve a Proxy Ticket for ClearPass
>
> Line 141:            var proxyTicket = 
> user.GetProxyTicketFor(ClearPassUri);
>
>  
>
>  
>
>  
>
> HEre is my web.config settings...
>
>  
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <configuration>
>
> <configSections>
>
>   <section name="casClientConfig"
>
> type="DotNetCasClient.Configuration.CasClientConfiguration, 
> DotNetCasClient" />
>
> ...
>
> ...
>
> ..
>
> <appSettings>
>
>   <add key="CasOwa.ClearPassUrl"
>
> value="https://localhost:8443/cas/clearPass"; />
>
>   <add key="CasOwa.OwaUrl" value="https://localhost/owa"; />
>
>   <add key="CasOwa.skipOwaUrlCertificateValidation" value="true" />
>
>   </appSettings>
>
>  
>
> ...
>
> ..
>
> ...
>
>  
>
> <casClientConfig casServerLoginUrl="https://localhost:8443/cas/login";
>
> serverName="https://localhost"; secureUriRegex="(?i)/auth"
>
> casServerUrlPrefix="https://localhost:8443/cas/";
>
> redirectAfterValidation="false" useSession="true" gateway="false" 
> renew="false"
>
> ticketValidatorName="Cas20" ticketTimeTolerance="5000" 
> singleSignOut="false"
>
> proxyGrantingTicketReceptor="true"
>
> proxyCallbackUrl="https://localhost/coa/proxyCallback";
>
> proxyReceptorUrl="/coa/proxyCallback" />
>
>  
>
> ...
>
> ...
>
> ...
>
> ..
>
>  
>
>   <authentication mode="None" />  
>
> <httpHandlers>
>
>   <remove verb="*" path="*.asmx" />
>
>   <add verb="*" path="*.asmx" validate="false"
>
> type="System.Web.Script.Services.ScriptHandlerFactory, 
> System.Web.Extensions,
>
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
>
>   <add verb="*" path="*_AppService.axd" validate="false"
>
> type="System.Web.Script.Services.ScriptHandlerFactory, 
> System.Web.Extensions,
>
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
>
>   <add verb="GET,HEAD" path="ScriptResource.axd"
>
> type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions,
>
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
>
> validate="false" />
>
>  </httpHandlers>
>
> ...
>
> ...
>
> httpModules>
>
>   <add name="ScriptModule" type="System.Web.Handlers.ScriptModule,
>
> System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
>
> PublicKeyToken=31BF3856AD364E35" />
>
> </httpModules>
>
> ...
>
> ..
>
> ..
>
>  <modules>
>
>    <remove name="ScriptModule" />
>
>   <add name="ScriptModule" preCondition="managedHandler"
>
> type="System.Web.Handlers.ScriptModule, System.Web.Extensions, 
> Version=3.5.0.0,
>
> Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
>
>   <remove name="DotNetCasClient" />
>
>   <add name="DotNetCasClient"
>
> type="DotNetCasClient.CasAlternateAuthModule,DotNetCasClient" />
>
>   </modules>
>
>  ...
>
> ..
>
> ..
>
> ..
>
> .
>
> <handlers>
>
>                 <remove name="WebServiceHandlerFactory-Integrated" />
>
>                 <remove name="ScriptHandlerFactory" />
>
>                 <remove name="ScriptHandlerFactoryAppServices" />
>
>                 <remove name="ScriptResource" />
>
>  
>
>    <add name="Auth_Handler" path="auth" verb="*"
>
> type="CasOwa.CasOwaAuthHandler" modules="ManagedPipelineHandler"
>
> scriptProcessor="" resourceType="Unspecified" requireAccess="Script"
>
> allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
>
>     <add name="DotNetCasProxyCallback" path="proxyCallback" verb="*"
>
> type="CasOwa.CasOwaAuthHandler" modules="ManagedPipelineHandler"
>
> scriptProcessor="" resourceType="Unspecified" requireAccess="Script"
>
> allowPathInfo="false" preCondition="integratedMode"
>
> responseBufferLimit="4194304" />
>
>                 <add name="ScriptHandlerFactory" verb="*" path="*.asmx"
>
> preCondition="integratedMode"
>
> type="System.Web.Script.Services.ScriptHandlerFactory, 
> System.Web.Extensions,
>
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
>
>                 <add name="ScriptHandlerFactoryAppServices" verb="*"
>
> path="*_AppService.axd" preCondition="integratedMode"
>
> type="System.Web.Script.Services.ScriptHandlerFactory, 
> System.Web.Extensions,
>
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
>
>                 <add name="ScriptResource" verb="GET,HEAD" 
> path="ScriptResource.axd"
>
> preCondition="integratedMode" 
> type="System.Web.Handlers.ScriptResourceHandler,
>
> System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
>
> PublicKeyToken=31BF3856AD364E35" />
>
>  </handlers>
>
> ....
>
> ..
>
>  
>
>  
>
> Can you please Help!!! and let me know what I am missing.
>
>  
>
>
> DISCLAIMER Important! This message is intended for the above named 
> person(s) only and is CONFIDENTIAL AND PROPRIETARY. If you are not the 
> intended recipient of this e-mail and have received it in error, 
> please immediately notify the sender by return email and then delete 
> it from your mailbox. This message may be protected by the 
> attorney-client privilege and/or work product doctrine. Accessing, 
> copying, disseminating or re-using any of the information contained in 
> this e-mail by anyone other than the intended recipient is strictly 
> prohibited. Finally, you should check this email and any attachments 
> for the presence of viruses, as the sender accepts no liability for 
> any damage caused by any virus transmitted by this email. Thank you.
> -- 
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


DISCLAIMER Important! This message is intended for the above named person(s) 
only and is CONFIDENTIAL AND PROPRIETARY. If you are not the intended recipient 
of this e-mail and have received it in error, please immediately notify the 
sender by return email and then delete it from your mailbox. This message may 
be protected by the attorney-client privilege and/or work product doctrine.  
Accessing, copying, disseminating or re-using any of the information contained 
in this e-mail by anyone other than the intended recipient is strictly 
prohibited. Finally, you should check this email and any attachments for the 
presence of viruses, as the sender accepts no liability for any damage caused 
by any virus transmitted by this email.  Thank you.



-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to