[cas-user] Entering state 'viewLoginForm' of flow 'login' after spnegoError

2015-10-30 Thread Schneider Jesko
Halo,

We are using CAS and want to upgrade to CAS 4.1.1. The authentification against 
active-directory and single-sign-on with SPNEGO works fine.
Unfortunately, the loginpage is no longer displayed after an error in SPNEGO.  
The webflow of the login stops at viewLoginForm.


Our changes in login-webflow.xml
   
















   

Catalina.out:
2015-10-30 10:02:00,324 DEBUG [org.springframework.webflow.engine.Transition] - 

2015-10-30 10:02:00,324 DEBUG [org.springframework.webflow.engine.Transition] - 

2015-10-30 10:02:00,324 DEBUG [org.springframework.webflow.engine.ViewState] - 

2015-10-30 10:02:00,325 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - 
2015-10-30 10:02:00,325 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - 
2015-10-30 10:02:00,325 DEBUG 
[org.springframework.webflow.execution.AnnotatedAction] - 
2015-10-30 10:02:00,326 DEBUG 
[org.springframework.webflow.execution.ActionExecutor] - 
2015-10-30 10:02:00,332 DEBUG 
[org.springframework.webflow.engine.impl.FlowExecutionImpl] - 
2015-10-30 10:02:00,332 DEBUG [org.springframework.webflow.engine.Transition] - 

2015-10-30 10:02:00,333 DEBUG [org.springframework.webflow.engine.Transition] - 

2015-10-30 10:02:00,333 DEBUG [org.springframework.webflow.engine.Transition] - 

2015-10-30 10:02:00,333 DEBUG [org.springframework.webflow.engine.Transition] - 

2015-10-30 10:02:00,333 DEBUG [org.springframework.webflow.engine.Transition] - 

2015-10-30 10:02:00,333 DEBUG [org.springframework.webflow.engine.Transition] - 


Thanks a lot for any help
Best regards
Jesko Schneider
Zeppelin Baumaschinen GmbH
System Operations
Graf-Zeppelin-Platz 1
85748 Garching bei München
Tel.  +49 (0)89 32000-528
Fax   +49 (0)89 32000-7468

http://www.zeppelin.de


[http://www.zeppelin-cat.de/fileadmin/mobile_apps/mail_disclaimer/ZE_App_E-Mail_1.jpg]
 
[http://www.zeppelin-cat.de/fileadmin/mobile_apps/mail_disclaimer/ZE_App_E-Mail_2.jpg]
   
[http://www.zeppelin-cat.de/fileadmin/mobile_apps/mail_disclaimer/ZE_App_E-Mail_3.jpg]
  
-
Zeppelin Baumaschinen GmbH

Handelsregister - Commercial register: AG München HRB 107767
Sitz - Registered Domicile: D-85748 Garching b. München

Vorsitzender des Aufsichtsrats - Chairman of the Supervisory Board: Peter 
Gerstmann
Geschäftsführer - General Manager: Michael Heidemann(Vorsitzender - Chairman), 
Fred Cordes, Arne Severin, Thomas Weber
-

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

RE:[cas-user] logout

2015-10-30 Thread Chris Cheltenham
Thanks Neil, I appreciate it.

From: Neil Sabol [mailto:nssa...@unm.edu]
Sent: Thursday, October 29, 2015 10:23 AM
To: cas-user@lists.jasig.org
Subject: RE:[cas-user] logout

Good morning Chris,

I've used something like the following for logout with phpCAS:

require_once 'CAS.php';
phpCAS::client(CAS_VERSION_2_0, 'your.cas.url', 443, 'yourcascontext');
phpCAS::setNoCasServerValidation();
phpCAS::logout();

You would substitute your own CAS values for your.cas.url and yourcascontext.

I hope it helps.

Thank you,
-Neil

From: Chris Cheltenham [mailto:cchelten...@swaintechs.com]
Sent: Thursday, October 29, 2015 6:26 AM
To: cas-user@lists.jasig.org
Subject: [cas-user] logout

Hello Everyone,

Has anyone written php code for a logout button in my header.
I am not a web developer yet being asked to do so.

If any has that code to share I would very much appreciate it.

I have tried a number of things without luck googling.

After that I need to run a script to kill the apache session cookie created y 
mod_auth_cas.
But one thing at a time.



Thank You;

Chris Cheltenham
cchelten...@swaintechs.com
SwainTechs
10 Walnut Grove Rd
Suite 110
Horsham, PA
19044

888-905-5767 / X407





--

You are currently subscribed to 
cas-user@lists.jasig.org as: 
nssa...@unm.edu

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



--

You are currently subscribed to 
cas-user@lists.jasig.org as: 
cchelten...@swaintechs.com

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


Re: [cas-user] logout

2015-10-30 Thread Alberto Cabello Sánchez
On Thu, Oct 29, 2015 at 02:22:33PM +, Neil Sabol wrote:
> Good morning Chris,
> 
> I've used something like the following for logout with phpCAS:
> 
> require_once 'CAS.php';
> phpCAS::client(CAS_VERSION_2_0, 'your.cas.url', 443, 'yourcascontext');
> phpCAS::setNoCasServerValidation();
> phpCAS::logout();
> 
> You would substitute your own CAS values for your.cas.url and yourcascontext.

Will that log out from your application before redirecting
elsewhere? Or it is needed to do something like

session_destroy() ?



-- 
Alberto Cabello Sánchez
Universidad de Extremadura

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



RE: [cas-user] logout

2015-10-30 Thread Neil Sabol
Hi Alberto and Chris,

No problem.

If you are using sessions in PHP (i.e. session_start() ), you would likely also 
need to call session_destroy(); before phpCAS::logout(). Alternatively, I've 
heard of others using $_SESSION= null; prior to calling phpCAS::logout to 
terminate the PHP application's session.

If your application's logout handler is on a different page (or you have a 
slightly different requirement, besides sending the user to the CAS logout page 
when he/she logs out), you can use 
phpCAS::logoutWithRedirectService("http://url.to.page.after.logout;)

Thanks for mentioning that detail and hope this helps,
-Neil


-Original Message-
From: Alberto Cabello Sánchez [mailto:albe...@unex.es] 
Sent: Friday, October 30, 2015 7:42 AM
To: cas-user@lists.jasig.org
Subject: Re: [cas-user] logout

On Thu, Oct 29, 2015 at 02:22:33PM +, Neil Sabol wrote:
> Good morning Chris,
> 
> I've used something like the following for logout with phpCAS:
> 
> require_once 'CAS.php';
> phpCAS::client(CAS_VERSION_2_0, 'your.cas.url', 443, 
> 'yourcascontext'); phpCAS::setNoCasServerValidation();
> phpCAS::logout();
> 
> You would substitute your own CAS values for your.cas.url and yourcascontext.

Will that log out from your application before redirecting elsewhere? Or it is 
needed to do something like

session_destroy() ?



--
Alberto Cabello Sánchez
Universidad de Extremadura

--
You are currently subscribed to cas-user@lists.jasig.org as: nssa...@unm.edu To 
unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user