Re: [cas-user] Is there any CAS client available for ASP or CWS?

2014-09-08 Thread Oswald Lu
Hi, John: Many thanks for the information you provide. I am now studying hard to figure out how to implement the solution. It might be hard to imagine how complicated the IT environment is. There are many servers including both Windows Server 2003, and Windows Server 2008, therefore, there

[cas-user] casLoginView.jsp issue while deploying in Jboss 5.1

2014-09-08 Thread Durga Prasad
Hi Fplks, I am trying to deploy CAS.war (3.5.x.x) on JBOSS 5.1 and encountering the below casLoginView.jsp. Please help to resolve this issue. org.apache.jasper.JasperException: /WEB-INF/view/jsp/default/ui/casLoginView.jsp(48,35) Attribute value request.getQueryString() == null ? "" : request.ge

Re: [cas-user] Is there any CAS client available for ASP or CWS?

2014-09-08 Thread Oswald Lu
Thank you very much for your prompt reply.I will study and try the method you mentioned. Oswald. Jérôme LELEU於 2014年9月5日星期五UTC+8下午7時11分24秒寫道: > > Hi, > > I'm used to say that if you don't have the right CAS client for your > webapp, you can still fallback to the CAS module for Apache (inst

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Michelle Zhang
Thank you Carl! Do I need to add it as a class to my App_Code? or just register it in web.config? Michelle On Mon, Sep 8, 2014 at 4:34 PM, Waldbieser, Carl wrote: > Michelle, > > I am looking at the source on GitHub: > > > https://github.com/Jasig/dotnet-cas-client/blob/master/DotNetCasClient/C

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Waldbieser, Carl
Michelle, I am looking at the source on GitHub: https://github.com/Jasig/dotnet-cas-client/blob/master/DotNetCasClient/CasAuthenticationModule.cs Thanks, Carl - Original Message - From: "Michelle Zhang" To: cas-user@lists.jasig.org Sent: Monday, September 8, 2014 4:24:42 PM Subject:

RE: [cas-user] Redirect page after authenticated

2014-09-08 Thread Lapanja, Bob@POST
You need to register the module in your web.config differently depending on whether you are using integrated mode (only available in newer versions of IIS) or classic mode. In integrated mode, it should be registered under system.webserver/modules, in classic mode it should be registered under

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Michelle Zhang
Carl, where can I find DotNetCasClient/CasAuthenticationModule.cs? The only classes I included are DotNetCasAttributePrincipal.cs and DotNetCASClient.cs. If I just type in the path: https://CASServerName/cas/login?requesturl=https://myWebServerName/Account/login.aspx

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Waldbieser, Carl
Michelle, The source code file "DotNetCasClient/CasAuthenticationModule.cs" has some comments that may partially explain why you are seeing "ReturnUrl" instead of "service". It seems like the ASP.NET framework is not intercepting the request as it is routed to FormsLoginUrl. Do you have debug

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Michelle Zhang
Carl, I made such change now: https://CASServerName/cas/login " casServerUrlPrefix="https://CASServerName/cas " serverName="https://myWebServerName " notAuth

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Waldbieser, Carl
Michelle, It looks like "serverName" in "casClientConfig" ought to be "https://myWebServerName";. From the instructions: Host name of the server hosting this application. This is used to generate URLs that will be sent to the CAS server for redirection. Thanks, Carl - Original Message

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Michelle Zhang
Carl, Thank you for checking for me! I made the change, now the code in web.config shows: https://CASServerName/cas/login " timeout="30" defaultUrl="https://myWebServerName/Account/Login.aspx"; cookieless="UseCookies" slidi

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Waldbieser, Carl
Michelle, Shouldn't your loginUrl be "https://CASEServerName/cas/login";? It should match the "casServerLoginUrl" in your "casClientConfig" section [1] Thanks, Carl [1] https://wiki.jasig.org/display/casc/.net+cas+client - Original Message - From: "Michelle Zhang" To: cas-user@lists.ja

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Michelle Zhang
Dear Carl, Thank you very much for the reply! I do not see the "service" parameter on the URL. The URL is just showing as: https://CASEServerName/cas/login?ReturnUrl=%2f In my web.config file, I have set the url in the "defaultUrl" attribute: https://CASEServerName/cas"; timeout="30"

Re: [cas-user] Redirect page after authenticated

2014-09-08 Thread Waldbieser, Carl
Michelle, When you are sent to the CAS login page, what is the value of the `service` parameter on the URL? That is the URL you will be redirected to on successful login. If that URL is *not* correct, your CAS client is sending the wrong service parameter. If it is correct, you should check

Re: [cas-user] CAS Integration with Microsoft Access App

2014-09-08 Thread John Gasper
The TGT is stored in the value of the cookie: CASTGC. --- *John Gasper* IAM Consultant Unicon, Inc. PGP/GPG Key: 0xbafee3ef On 9/5/14 9:02 AM, Stew wrote: > Thank you for the quick response. > > Your first solution sounds really good; I'll have to check to see if we have > the REST API loaded. T

[cas-user] Redirect page after authenticated

2014-09-08 Thread Michelle Zhang
Hi there, I'm a .Net developer and now just started to work with CAS. I have made associate changes on the web.config files so now after I typed in the url ( https://servername), I'm directed to the CAS log in page. After I logged in, I'm supposed to be redirected to my default page which specifi

Re: [cas-user] social sign on with pac4j via cas question

2014-09-08 Thread Jérôme LELEU
Hi, There is a metadata populator to add the client_name as an authentication: https://github.com/Jasig/cas/blob/master/cas-server-support-pac4j/src/main/java/org/jasig/cas/support/pac4j/authentication/ClientAuthenticationMetaDataPopulator.java. It could certainly be turned into something that ret

[cas-user] Cas 4.0 : Using CAS without the CAS login screen

2014-09-08 Thread Sunil Kalahasti
We would like to use external form for CAS authentication as described on https://wiki.jasig.org/display/CAS/Using+CAS+without+the+CAS+login+screen Could you please confirm whether the above reference is still valid with CAS 4.0? Thanks, Sunil.

[cas-user] social sign on with pac4j via cas question

2014-09-08 Thread Nancy Snoke
So I am using the 4.0 cas server, cas protocol 3, and have delegate authentication - using pac4j -- set up with facebook, twitter, and google. The authentication works great. I see how to get attributes returned to my application. What I do not see is how I can return the client name used to

Re: [cas-user] How to remove TARGET parameter

2014-09-08 Thread Baldur Dae
Thank you Carl. I think this is just what confuses me. I was expecting the same behaviour in php and java but this is probably not the case. Anyway, I'll study SAML protocol again to get a deeper insight ;) Thanks very much for the info. 2014-09-05 15:31 GMT+02:00 Waldbieser, Carl : > Baldur, >