Re: [cas-user] Overriding service request parameter in Spring Web Flow

2009-02-18 Thread Scott Battaglia
Forgot that we encapsulated that logic. You should be safe to call the constructor then. You will probably need to do it from an Action rather than right in the web flow. -Scott On Wed, Feb 18, 2009 at 9:00 PM, Andrew R Feller wrote: > I'd like to use the static methods, however both method

Re: [cas-user] authentication with SSO?

2009-02-18 Thread William G. Thompson, Jr.
Applications can opt out of SSO by using the "renew" parameter. http://www.jasig.org/cas/client-integration/renew On Wed, Feb 18, 2009 at 9:30 PM, ST Wong (ITSC) wrote: > Thanks for all the replies. On the contract, is it possible to disable SSO > for some applications that use CAS? I'm thin

RE: [cas-user] authentication with SSO?

2009-02-18 Thread ST Wong (ITSC)
Thanks for all the replies. On the contract, is it possible to disable SSO for some applications that use CAS? I'm thinking of shortening session lifetime or tgt cookie but seems the setting is global and will apply to all applications. Would anyone plesase help agin? Thanks a lot. _

RE: [cas-user] Overriding service request parameter in Spring Web Flow

2009-02-18 Thread Andrew R Feller
I'd like to use the static methods, however both methods determine the service from the HttpServletRequest's "service" parameter, which wasn't set in the first place. I suppose I could create a custom HttpServletRequestWrapper that will accept a list of key-values to set incase they aren't set

Re: [cas-user] Overriding service request parameter in Spring Web Flow

2009-02-18 Thread Scott Battaglia
You might need to actually create the action to do that. I'd also recommend using the static method on the SimpleWebApplicationServiceImpl (look at the CasArgumentExtractor class). -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Wed,

Re: [cas-user] Overriding service request parameter in Spring Web Flow

2009-02-18 Thread Andrew Feller
So ... http://www.example.com¹)² /> ^^; Even with the books I have on SWF, I can never figure their configuration correctly. Thanks Scott, A- On 2/18/09 3:18 PM, "Scott Battaglia" wrote: > You can create one using this: > http://

Re: [cas-user] Overriding service request parameter in Spring Web Flow

2009-02-18 Thread Scott Battaglia
You can create one using this: http://developer.jasig.org/source/browse/jasigsvn/cas3/trunk/cas-server-core/src/main/java/org/jasig/cas/authentication/principal/SimpleWebApplicationServiceImpl.java?r=42869 (there are two static methods, depending on whether you want single log out enabled or not)

[cas-user] Overriding service request parameter in Spring Web Flow

2009-02-18 Thread Andrew Feller
I¹m looking to set a default service to be used in Spring Web Flow in case one has not been provided by the user. However, it is impossible to override the external context parameter map and since the flowScope.service variable is an instance of WebApplicationService, I don¹t know how to instantia

Re: [cas-user] Modify CAS login screen for a simple HTML form

2009-02-18 Thread Vinicius Borges
Sorry Alex, but does'nt works... I have downloaded spring-core.jar to able StringUtils... but the .jsp does'nt had any button to submit the credentials I have put one, but they stay in this login page forever.. Thanks Alex.. Anyone have a suggestion? 2009/2/18 Axel Mendoza Pupo : > This should be

Re: [cas-user] Modify CAS login screen for a simple HTML form

2009-02-18 Thread Axel Mendoza Pupo
This should be enought to your needs. Just save this as .jsp file and use it as login page <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> "> -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail

[cas-user] Modify CAS login screen for a simple HTML form

2009-02-18 Thread Vinicius Borges
Hello people, I wanna modify the CAS screen login page and maintaining the funcionalities. I take casLoginView.jsp but I'm not understand anything about Spring and CSS. Can anyone show me an example in HTML using a simple form with 2 "inputs" (username and password) and 1 button to submit the cred

RE: [cas-user] Spring Security & CAS logout

2009-02-18 Thread Bruno Melloni
Hi Andrew, I agree with your perspective of SSO. The suggestion to be able to sign out of a single application was more within the 'nice to have' bucket. But you are right... it is kind of pointless because if it is an SSO application and you are logged into SSO, the first access to the app

Re: [cas-user] Spring Security & CAS logout

2009-02-18 Thread Scott Battaglia
On Wed, Feb 18, 2009 at 12:52 PM, Bruno Melloni wrote: > Hi Scott, > > > > I think I understand the process you describe. I think that I've already > implemented it, including the filter and listener in web.xml as described in > the link. It is very likely that what I am missing is the code th

Re: [cas-user] Download Jasig Java CAS Client Tarball

2009-02-18 Thread Scott Battaglia
I think when the site was updated the links to the clients got removed accidentally. I'll forward this to the Steering Committee. We're collecting feedback :-) Thanks -Scott On Wed, Feb 18, 2009 at 12:59 PM, Marvin Addison wrote: > > I don't know if there is a link to it from the website, but

Re: [cas-user] Download Jasig Java CAS Client Tarball

2009-02-18 Thread Marvin Addison
> I don't know if there is a link to it from the website, but you can download > any of the CAS clients from the JA-SIG website here: > > http://www.ja-sig.org/downloads/cas-clients/ Great, thanks. Maybe someone more familiar with the new Jasig site could confirm whether this link is provided som

RE: [cas-user] Spring Security & CAS logout

2009-02-18 Thread Bruno Melloni
Hi Scott, I think I understand the process you describe. I think that I've already implemented it, including the filter and listener in web.xml as described in the link. It is very likely that what I am missing is the code that recognizes the callback from CAS as a callback, and use that info

Re: [cas-user] Download Jasig Java CAS Client Tarball

2009-02-18 Thread Andrew Feller
Marvin, I don't know if there is a link to it from the website, but you can download any of the CAS clients from the JA-SIG website here: http://www.ja-sig.org/downloads/cas-clients/ Hope that helps, A- On 2/18/09 11:46 AM, "Marvin Addison" wrote: > Today I attempted to find the Java CAS clie

Re: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Vinicius Borges
An anormal error ocourred after a digited: mvn package install -Dmaven.test.skip=true. The error is show above... Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alp ha-1/plexus-io-1.0-alpha-1.jar [INFO] -

[cas-user] Download Jasig Java CAS Client Tarball

2009-02-18 Thread Marvin Addison
Today I attempted to find the Java CAS client distribution tarball (with source), but I can't find it on the new Jasig Web site. http://www.jasig.org/cas/client-integration/java-client provides a link to http://www.ja-sig.org/products/cas/downloads/index.html, but that redirects back go /cas. Addi

Re: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Scott Battaglia
Mike, Which version of CAS are you using? Newer versions shouldn't need that. If they do, then we have a misconfiguration in the newer software. Thanks -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Wed, Feb 18, 2009 at 11:44 AM,

Re: [cas-user] Spring Security & CAS logout

2009-02-18 Thread Scott Battaglia
On Wed, Feb 18, 2009 at 11:43 AM, Bruno Melloni wrote: > It seems that I offended you. It was not my intent. It is obvious that > CAS is a great product, even if it is a nightmare to understand and > configure. I thought I had finally understood it and was trying to > summarize for those tha

Re: [cas-user] Spring Security & CAS logout

2009-02-18 Thread Andrew Feller
Bruno, The whole concept and policies related to SSOut is definitely bigger than the someone's knee jerk reactions make it out to be. If Single Sign On meant that you only login once and you can access any application configured to use that SSO service, then it makes sense that SSOut would comple

RE: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Michael A Jones
I downloaded the httpclient-4.0-beta2.jar into /repository/commons-httpclient/commons-httpclient/2.0.2/. The pom.xml entry you need is supplied on the website as part of the download. I put this entry in the pom.xml located in CAS_HOME/webapps and then ran the package install command from CAS_HOME/

RE: [cas-user] Spring Security & CAS logout

2009-02-18 Thread Bruno Melloni
Scott, It seems that I offended you. It was not my intent. It is obvious that CAS is a great product, even if it is a nightmare to understand and configure. I thought I had finally understood it and was trying to summarize for those that only know English and Java, and are beginners at CAS.

Re: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Scott Battaglia
Those tests call out to the Rutgers home page to complete their tests. My guess is the call is being blocked. You can disable running the tests by adding: -Dmaven.test.skip=true to your mvn command -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottb

Re: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Vinicius Borges
Ok Scott, thanks for the reply... These are the 4 failures... --- Test set: org.jasig.cas.util.HttpClientTests --- Tests run: 2, Failures: 1, Erro

Re: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Scott Battaglia
I don't believe we use Commons HttpClient in 3.3.1. If you look in the surefire-reports directory you can tell why the tests are failing. They should have a similar name to the tests you referenced above. Post them to the list and we can look at them. -Scott -Scott Battaglia PGP Public Key Id:

Re: [cas-user] Spring Security & CAS logout

2009-02-18 Thread Scott Battaglia
On Wed, Feb 18, 2009 at 10:22 AM, Bruno Melloni wrote: > Thank you, Marvin. That just gave me the information I was missing and made > me realize that I was on a wild goose chase. Let me mention what I've > learned so far about Single Sign Out, from previous emails and all of my > research. I t

RE: [cas-user] Spring Security & CAS logout

2009-02-18 Thread Bruno Melloni
Thank you, Marvin. That just gave me the information I was missing and made me realize that I was on a wild goose chase. Let me mention what I've learned so far about Single Sign Out, from previous emails and all of my research. I think it clarifies a lot of misconceptions, and gave me the key

Re:[cas-user] Extending the schema of your LDAP Directory with eduPerson

2009-02-18 Thread zhang li
Mike Barton wrote: > Hi Li, > I saw your post on the Shibboleth Users Forum. > It is not complicated to extend the schema of AD, eDirectory or OpenLDAP with > the eduPerson Auxilliary Class. > What system are you using in New Jersey? > Kind regards, > Mike. > > Mike Barton > Senior Consultant > >

Re: [cas-user] Spring Security & CAS logout

2009-02-18 Thread Marvin Addison
> Is there any other place where I need to specify URL so that CAS knows to > call it? The URL that CAS calls is not configurable. It simply replays the referring URL of the service that contacted CAS for a service ticket. So if you enter your application through https://yourhost/myApp/app/home.j

Re: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Vinicius Borges
Ok... I downloaded commons-httpclient.jar and I put into Maven2 repository. Should I put this jar into a specific subfolder of repository? What I have to change in pom.xml of webapp project? Thanks 2009/2/18 Michael A Jones : > Well for me the tests all seemed to be failing around the lack of an

RE: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Michael A Jones
Well for me the tests all seemed to be failing around the lack of an Http Client jar. I downloaded this from the Http Client website and placed it in my repository and modified my pom.xml and the war generated fine. This could be a place to start. -Original Message- From: Vinicius Borges [

Re: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Vinicius Borges
Hello, Which jars can I download? How can I Know this? I readed the TEST's archives and I don't understand anything... Thanks 2009/2/18 Michael A Jones : > I also had this problem. I think there could be a problem with some of > the links to the dependencies, as my repository when I set it up ha

RE: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Michael A Jones
I also had this problem. I think there could be a problem with some of the links to the dependencies, as my repository when I set it up had loads of missing jars. When you go to some of the links to where it's trying to download the jars they don't exist. I think if you download the missing jars in

[cas-user] Can't deploy CAS Server 3.3.1 using Maven2

2009-02-18 Thread Vinicius Borges
Hello people, I'm trying to generate a new war file for cas. I have downloaded Maven2, I have installed and eveything was gone ok... But when I take "mvn package install" on directory CAS_HOME, I receive 4 failures: Results : Failed tests: testValidProxyTicketWithoutQueryString(org.jasig.cas.

[cas-user] CAS-spring webflow CLUSTER Problem

2009-02-18 Thread mcaraviello
Hi I'm having issues with my application. So just to give you a little bit of context information, let me describe the environment I have. ENVIRONMENT: We are using Apache 2.2.9 with mod_proxy as reverse proxy server that is intercepting all requests to the application. These two apache rever

Re: [cas-user] how to set up cas 3 logout redirect

2009-02-18 Thread Robert Oschwald
Its an addition that some people did, like the url parameter. Its probably a good contender for our new process of updating the protocol ;-) There's no need to modify your logoutView.jsp. If you've enabled serviceRedirects on the LogoutController and you give it the service url it wil