Re: [cas-user] question about non-web console service registration

2015-02-04 Thread Dmitriy Kopylenko
You got it - in the overlay's pom. 

D.

Sent from my iPhone

> On Feb 4, 2015, at 17:11, Milt Epstein  wrote:
> 
> Do you need to include a dependency in your pom.xml to get the unicon
> json-services-registry package?
> 
> Milt Epstein
> Applications Developer
> Graduate School of Library and Information Science (GSLIS)
> University of Illinois at Urbana-Champaign (UIUC)
> mepst...@illinois.edu
> 
> 
>> On Wed, 4 Feb 2015, Chris Adams wrote:
>> 
>> Thank you for spotting that. I have made those changes and restarted Tomcat.
>> 
>> I am still getting errors while utilizing the JSON service registry code. 
>> Without it, things work fine. Here is what I am seeing.
>> 
>> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 
>> 60 in XML document from ServletContext resource 
>> [/WEB-INF/deployerConfigContext.xml] is invalid; nested exception is 
>> org.xml.sax.SAXParseException; lineNumber: 60; columnNumber: 48; 
>> cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration 
>> can be found for element 'cas:json-services-registry'.
>> 
>> From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net]
>> Sent: Wednesday, February 04, 2015 10:37 AM
>> To: cas-user@lists.jasig.org
>> Subject: Re: [cas-user] question about non-web console service registration
>> 
>> Here’s the culprit (in the attached file). Last line in the “beans elem. 
>> header” looks like:
>> 
>> http://unicon.net/schema/cas http://unicon.net/schemas/cas/addons.xsd”>
>> 
>> it’s supposed to look like this:
>> 
>> http://unicon.net/schema/cas http://unicon.net/schema/cas/cas-addons.xsd”>
>> 
>> Cheers,
>> D.
>> 
>> On Feb 4, 2015, at 12:09 PM, Chris Adams 
>> mailto:chris.a.ad...@state.or.us>> wrote:
>> 
>> Here it is...
>> 
>> |-Original Message-
>> |From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net]
>> |Sent: Wednesday, February 04, 2015 3:46 AM
>> |To: cas-user@lists.jasig.org
>> |Subject: Re: [cas-user] question about non-web console service registration
>> |
>> |FWIW,
>> |
>> |can you attach your entire file?
>> |
>> |Cheers,
>> |Dmitriy.
>> |
>> |Sent from my iPhone
>> |
>> |> On Feb 3, 2015, at 19:23, Chris Adams 
>> mailto:chris.a.ad...@state.or.us>> wrote:
>> |>
>> |> Thank you for your reply.
>> |>
>> |> I did have the line "xmlns:cas="http://unicon.net/schema/cas"; defined.
>> |>
>> |> http://www.springframework.org/schema/beans";
>> |>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> |>   xmlns:p="http://www.springframework.org/schema/p";
>> |>   xmlns:c="http://www.springframework.org/schema/c";
>> |>   xmlns:tx="http://www.springframework.org/schema/tx";
>> |>   xmlns:util="http://www.springframework.org/schema/util";
>> |>   xmlns:sec="http://www.springframework.org/schema/security";
>> |>   xmlns:cas="http://unicon.net/schema/cas";
>> |>   xsi:schemaLocation="http://www.springframework.org/schema/beans
>> |>   
>> http://www.springframework.org/schema/beans/spring-
>> |beans-3.2.xsd
>> |>   http://www.springframework.org/schema/tx
>> |>   
>> http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
>> |>   http://www.springframework.org/schema/security
>> |>   
>> http://www.springframework.org/schema/security/spring-
>> |security-3.2.xsd
>> |>   http://www.springframework.org/schema/util
>> |>   
>> http://www.springframework.org/schema/util/spring-util.xsd
>> |>   http://unicon.net/schema/cas
>> |>
>> |> http://unicon.net/schema/cas/cas-addons.xsd";>
>> |>
>> |> After restarting Tomcat, I can't get to the login page. The log show this:
>> |>
>> |>
>> |> 2015-02-03 16:01:40,237 ERROR
>> |> [org.jasig.cas.web.init.SafeContextLoaderListener]
>> |> - SafeContextLoaderListener:
>> |> The Spring ContextLoaderListener we wrap threw on contextInitialized.
>> |> But for our having caught this error, the web application context
>> |> would not have initialized.
>> |> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
>> |> Line 65 in XML document from ServletContext resource
>> |> [/WEB-INF/deployerConfigContext.xml] i s invalid; nested exception is
>> |> org.xml.sax.SAXParseException; lineNumber: 65; col
>> |> umnNumber: 48; cvc-complex-type.2.4.c: The matching wildcard is
>> |> strict, but no de claration can be found for element 'cas:json-services-
>> |registry'.
>> |>
>> |>
>> |>
>> |> |-Original Message-
>> |> |From: 
>> mepst...@gwork254.lis.illinois.edu
>> |> |[mailto:mepst...@gwork254.lis.illinois.edu] On Behalf Of Milt Epstein
>> |> |Sent: Tuesday, February 03, 2015 1:36 PM
>> |> |To: cas-user@lists.jasig.org
>> |> |Subject: RE: [cas-user] question about non-web console service
>> |> |registration
>> |> |
>> |> 

Re: [cas-user] question about non-web console service registration

2015-02-04 Thread Dmitriy Kopylenko
You'd need to also make sure that you have the cas-addons jar in the app's 
classpath. 

D. 

Sent from my iPhone

> On Feb 4, 2015, at 16:41, Chris Adams  wrote:
> 
> Thank you for spotting that. I have made those changes and restarted Tomcat.
>  
> I am still getting errors while utilizing the JSON service registry code. 
> Without it, things work fine. Here is what I am seeing.
>  
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 
> 60 in XML document from ServletContext resource 
> [/WEB-INF/deployerConfigContext.xml] is invalid; nested exception is 
> org.xml.sax.SAXParseException; lineNumber: 60; columnNumber: 48; 
> cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration 
> can be found for element 'cas:json-services-registry'.
>  
> From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net] 
> Sent: Wednesday, February 04, 2015 10:37 AM
> To: cas-user@lists.jasig.org
> Subject: Re: [cas-user] question about non-web console service registration
>  
> Here’s the culprit (in the attached file). Last line in the “beans elem. 
> header” looks like:
>  
> http://unicon.net/schema/cas http://unicon.net/schemas/cas/addons.xsd”>
>  
> it’s supposed to look like this:
>  
> http://unicon.net/schema/cas http://unicon.net/schema/cas/cas-addons.xsd”>
>  
> Cheers,
> D.
>  
> On Feb 4, 2015, at 12:09 PM, Chris Adams  wrote:
>  
> Here it is...
> 
> |-Original Message-
> |From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net]
> |Sent: Wednesday, February 04, 2015 3:46 AM
> |To: cas-user@lists.jasig.org
> |Subject: Re: [cas-user] question about non-web console service registration
> |
> |FWIW,
> |
> |can you attach your entire file?
> |
> |Cheers,
> |Dmitriy.
> |
> |Sent from my iPhone
> |
> |> On Feb 3, 2015, at 19:23, Chris Adams  wrote:
> |>
> |> Thank you for your reply.
> |>
> |> I did have the line "xmlns:cas="http://unicon.net/schema/cas"; defined.
> |>
> |> http://www.springframework.org/schema/beans";
> |>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> |>   xmlns:p="http://www.springframework.org/schema/p";
> |>   xmlns:c="http://www.springframework.org/schema/c";
> |>   xmlns:tx="http://www.springframework.org/schema/tx";
> |>   xmlns:util="http://www.springframework.org/schema/util";
> |>   xmlns:sec="http://www.springframework.org/schema/security";
> |>   xmlns:cas="http://unicon.net/schema/cas";
> |>   xsi:schemaLocation="http://www.springframework.org/schema/beans
> |>   
> http://www.springframework.org/schema/beans/spring-
> |beans-3.2.xsd
> |>   http://www.springframework.org/schema/tx
> |>   
> http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
> |>   http://www.springframework.org/schema/security
> |>   
> http://www.springframework.org/schema/security/spring-
> |security-3.2.xsd
> |>   http://www.springframework.org/schema/util
> |>   
> http://www.springframework.org/schema/util/spring-util.xsd
> |>   http://unicon.net/schema/cas
> |>
> |> http://unicon.net/schema/cas/cas-addons.xsd";>
> |>
> |> After restarting Tomcat, I can't get to the login page. The log show this:
> |>
> |>
> |> 2015-02-03 16:01:40,237 ERROR
> |> [org.jasig.cas.web.init.SafeContextLoaderListener]
> |> - SafeContextLoaderListener:
> |> The Spring ContextLoaderListener we wrap threw on contextInitialized.
> |> But for our having caught this error, the web application context
> |> would not have initialized.
> |> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> |> Line 65 in XML document from ServletContext resource
> |> [/WEB-INF/deployerConfigContext.xml] i s invalid; nested exception is
> |> org.xml.sax.SAXParseException; lineNumber: 65; col
> |> umnNumber: 48; cvc-complex-type.2.4.c: The matching wildcard is
> |> strict, but no de claration can be found for element 'cas:json-services-
> |registry'.
> |>
> |>
> |>
> |> |-Original Message-
> |> |From: mepst...@gwork254.lis.illinois.edu
> |> |[mailto:mepst...@gwork254.lis.illinois.edu] On Behalf Of Milt Epstein
> |> |Sent: Tuesday, February 03, 2015 1:36 PM
> |> |To: cas-user@lists.jasig.org
> |> |Subject: RE: [cas-user] question about non-web console service
> |> |registration
> |> |
> |> |Answers inline below.
> |> |
> |> |Milt Epstein
> |> |Applications Developer
> |> |Graduate School of Library and Information Science (GSLIS) University
> |> |of Illinois at Urbana-Champaign (UIUC) mepst...@illinois.edu
> |> |
> |> |
> |> |On Tue, 3 Feb 2015, Chris Adams wrote:
> |> |
> |> |> Thank you.
> |> |>
> |> |> I attempted to use JSON, using
> |> |>  |> |> -Re
> |> |> gistry> as a reference, but couldn't get it working. From the
> |> |> gistry> cas.log
> |> |> :
> |> |>
> |> |> 2015-02-02 

RE: [cas-user] question about non-web console service registration

2015-02-04 Thread Milt Epstein
Do you need to include a dependency in your pom.xml to get the unicon
json-services-registry package?

Milt Epstein
Applications Developer
Graduate School of Library and Information Science (GSLIS)
University of Illinois at Urbana-Champaign (UIUC)
mepst...@illinois.edu


On Wed, 4 Feb 2015, Chris Adams wrote:

> Thank you for spotting that. I have made those changes and restarted Tomcat.
> 
> I am still getting errors while utilizing the JSON service registry code. 
> Without it, things work fine. Here is what I am seeing.
> 
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 
> 60 in XML document from ServletContext resource 
> [/WEB-INF/deployerConfigContext.xml] is invalid; nested exception is 
> org.xml.sax.SAXParseException; lineNumber: 60; columnNumber: 48; 
> cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration 
> can be found for element 'cas:json-services-registry'.
> 
> From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net]
> Sent: Wednesday, February 04, 2015 10:37 AM
> To: cas-user@lists.jasig.org
> Subject: Re: [cas-user] question about non-web console service registration
> 
> Here???s the culprit (in the attached file). Last line in the ???beans elem. 
> header??? looks like:
> 
> http://unicon.net/schema/cas http://unicon.net/schemas/cas/addons.xsd???>
> 
> it???s supposed to look like this:
> 
> http://unicon.net/schema/cas http://unicon.net/schema/cas/cas-addons.xsd???>
> 
> Cheers,
> D.
> 
> On Feb 4, 2015, at 12:09 PM, Chris Adams 
> mailto:chris.a.ad...@state.or.us>> wrote:
> 
> Here it is...
> 
> |-Original Message-
> |From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net]
> |Sent: Wednesday, February 04, 2015 3:46 AM
> |To: cas-user@lists.jasig.org
> |Subject: Re: [cas-user] question about non-web console service registration
> |
> |FWIW,
> |
> |can you attach your entire file?
> |
> |Cheers,
> |Dmitriy.
> |
> |Sent from my iPhone
> |
> |> On Feb 3, 2015, at 19:23, Chris Adams 
> mailto:chris.a.ad...@state.or.us>> wrote:
> |>
> |> Thank you for your reply.
> |>
> |> I did have the line "xmlns:cas="http://unicon.net/schema/cas"; defined.
> |>
> |> http://www.springframework.org/schema/beans";
> |>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> |>   xmlns:p="http://www.springframework.org/schema/p";
> |>   xmlns:c="http://www.springframework.org/schema/c";
> |>   xmlns:tx="http://www.springframework.org/schema/tx";
> |>   xmlns:util="http://www.springframework.org/schema/util";
> |>   xmlns:sec="http://www.springframework.org/schema/security";
> |>   xmlns:cas="http://unicon.net/schema/cas";
> |>   xsi:schemaLocation="http://www.springframework.org/schema/beans
> |>   
> http://www.springframework.org/schema/beans/spring-
> |beans-3.2.xsd
> |>   http://www.springframework.org/schema/tx
> |>   
> http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
> |>   http://www.springframework.org/schema/security
> |>   
> http://www.springframework.org/schema/security/spring-
> |security-3.2.xsd
> |>   http://www.springframework.org/schema/util
> |>   
> http://www.springframework.org/schema/util/spring-util.xsd
> |>   http://unicon.net/schema/cas
> |>
> |> http://unicon.net/schema/cas/cas-addons.xsd";>
> |>
> |> After restarting Tomcat, I can't get to the login page. The log show this:
> |>
> |>
> |> 2015-02-03 16:01:40,237 ERROR
> |> [org.jasig.cas.web.init.SafeContextLoaderListener]
> |> - SafeContextLoaderListener:
> |> The Spring ContextLoaderListener we wrap threw on contextInitialized.
> |> But for our having caught this error, the web application context
> |> would not have initialized.
> |> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> |> Line 65 in XML document from ServletContext resource
> |> [/WEB-INF/deployerConfigContext.xml] i s invalid; nested exception is
> |> org.xml.sax.SAXParseException; lineNumber: 65; col
> |> umnNumber: 48; cvc-complex-type.2.4.c: The matching wildcard is
> |> strict, but no de claration can be found for element 'cas:json-services-
> |registry'.
> |>
> |>
> |>
> |> |-Original Message-
> |> |From: 
> mepst...@gwork254.lis.illinois.edu
> |> |[mailto:mepst...@gwork254.lis.illinois.edu] On Behalf Of Milt Epstein
> |> |Sent: Tuesday, February 03, 2015 1:36 PM
> |> |To: cas-user@lists.jasig.org
> |> |Subject: RE: [cas-user] question about non-web console service
> |> |registration
> |> |
> |> |Answers inline below.
> |> |
> |> |Milt Epstein
> |> |Applications Developer
> |> |Graduate School of Library and Information Science (GSLIS) University
> |> |of Illinois at Urbana-Champaign (UIUC) 
> mepst...@illinois.edu

RE: [cas-user] question about non-web console service registration

2015-02-04 Thread Chris Adams
Thank you for spotting that. I have made those changes and restarted Tomcat.

I am still getting errors while utilizing the JSON service registry code. 
Without it, things work fine. Here is what I am seeing.

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 60 
in XML document from ServletContext resource 
[/WEB-INF/deployerConfigContext.xml] is invalid; nested exception is 
org.xml.sax.SAXParseException; lineNumber: 60; columnNumber: 48; 
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can 
be found for element 'cas:json-services-registry'.

From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net]
Sent: Wednesday, February 04, 2015 10:37 AM
To: cas-user@lists.jasig.org
Subject: Re: [cas-user] question about non-web console service registration

Here’s the culprit (in the attached file). Last line in the “beans elem. 
header” looks like:

http://unicon.net/schema/cas http://unicon.net/schemas/cas/addons.xsd”>

it’s supposed to look like this:

http://unicon.net/schema/cas http://unicon.net/schema/cas/cas-addons.xsd”>

Cheers,
D.

On Feb 4, 2015, at 12:09 PM, Chris Adams 
mailto:chris.a.ad...@state.or.us>> wrote:

Here it is...

|-Original Message-
|From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net]
|Sent: Wednesday, February 04, 2015 3:46 AM
|To: cas-user@lists.jasig.org
|Subject: Re: [cas-user] question about non-web console service registration
|
|FWIW,
|
|can you attach your entire file?
|
|Cheers,
|Dmitriy.
|
|Sent from my iPhone
|
|> On Feb 3, 2015, at 19:23, Chris Adams 
mailto:chris.a.ad...@state.or.us>> wrote:
|>
|> Thank you for your reply.
|>
|> I did have the line "xmlns:cas="http://unicon.net/schema/cas"; defined.
|>
|> http://www.springframework.org/schema/beans";
|>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
|>   xmlns:p="http://www.springframework.org/schema/p";
|>   xmlns:c="http://www.springframework.org/schema/c";
|>   xmlns:tx="http://www.springframework.org/schema/tx";
|>   xmlns:util="http://www.springframework.org/schema/util";
|>   xmlns:sec="http://www.springframework.org/schema/security";
|>   xmlns:cas="http://unicon.net/schema/cas";
|>   xsi:schemaLocation="http://www.springframework.org/schema/beans
|>   http://www.springframework.org/schema/beans/spring-
|beans-3.2.xsd
|>   http://www.springframework.org/schema/tx
|>   
http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
|>   http://www.springframework.org/schema/security
|>   
http://www.springframework.org/schema/security/spring-
|security-3.2.xsd
|>   http://www.springframework.org/schema/util
|>   
http://www.springframework.org/schema/util/spring-util.xsd
|>   http://unicon.net/schema/cas
|>
|> http://unicon.net/schema/cas/cas-addons.xsd";>
|>
|> After restarting Tomcat, I can't get to the login page. The log show this:
|>
|>
|> 2015-02-03 16:01:40,237 ERROR
|> [org.jasig.cas.web.init.SafeContextLoaderListener]
|> - SafeContextLoaderListener:
|> The Spring ContextLoaderListener we wrap threw on contextInitialized.
|> But for our having caught this error, the web application context
|> would not have initialized.
|> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
|> Line 65 in XML document from ServletContext resource
|> [/WEB-INF/deployerConfigContext.xml] i s invalid; nested exception is
|> org.xml.sax.SAXParseException; lineNumber: 65; col
|> umnNumber: 48; cvc-complex-type.2.4.c: The matching wildcard is
|> strict, but no de claration can be found for element 'cas:json-services-
|registry'.
|>
|>
|>
|> |-Original Message-
|> |From: 
mepst...@gwork254.lis.illinois.edu
|> |[mailto:mepst...@gwork254.lis.illinois.edu] On Behalf Of Milt Epstein
|> |Sent: Tuesday, February 03, 2015 1:36 PM
|> |To: cas-user@lists.jasig.org
|> |Subject: RE: [cas-user] question about non-web console service
|> |registration
|> |
|> |Answers inline below.
|> |
|> |Milt Epstein
|> |Applications Developer
|> |Graduate School of Library and Information Science (GSLIS) University
|> |of Illinois at Urbana-Champaign (UIUC) 
mepst...@illinois.edu
|> |
|> |
|> |On Tue, 3 Feb 2015, Chris Adams wrote:
|> |
|> |> Thank you.
|> |>
|> |> I attempted to use JSON, using
|> |>  |> -Re
|> |> gistry> as a reference, but couldn't get it working. From the
|> |> gistry> cas.log
|> |> :
|> |>
|> |> 2015-02-02 14:54:42,226 ERROR
|> |[org.jasig.cas.web.init.SafeContextLoaderListener] -
|> |SafeContextLoaderListener:
|> |> The Spring ContextLoaderListener we wrap threw on contextInitialized.
|> |> But for our having caught this e

Re:[cas-user] Not in office from 2nd Feb 2015 to 13th Feb 2015

2015-02-04 Thread avinash . bangera
Hi,

I am not in office from 2nd Feb 2015 to 13th Feb 2015.

Regards,
Avinash



-- 
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] question about non-web console service registration

2015-02-04 Thread Chris Adams
Here it is...

|-Original Message-
|From: Dmitriy Kopylenko [mailto:dkopyle...@unicon.net]
|Sent: Wednesday, February 04, 2015 3:46 AM
|To: cas-user@lists.jasig.org
|Subject: Re: [cas-user] question about non-web console service registration
|
|FWIW,
|
|can you attach your entire file?
|
|Cheers,
|Dmitriy.
|
|Sent from my iPhone
|
|> On Feb 3, 2015, at 19:23, Chris Adams  wrote:
|>
|> Thank you for your reply.
|>
|> I did have the line "xmlns:cas="http://unicon.net/schema/cas"; defined.
|>
|> http://www.springframework.org/schema/beans";
|>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
|>   xmlns:p="http://www.springframework.org/schema/p";
|>   xmlns:c="http://www.springframework.org/schema/c";
|>   xmlns:tx="http://www.springframework.org/schema/tx";
|>   xmlns:util="http://www.springframework.org/schema/util";
|>   xmlns:sec="http://www.springframework.org/schema/security";
|>   xmlns:cas="http://unicon.net/schema/cas";
|>   xsi:schemaLocation="http://www.springframework.org/schema/beans
|>   http://www.springframework.org/schema/beans/spring-
|beans-3.2.xsd
|>   http://www.springframework.org/schema/tx
|>   
http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
|>   http://www.springframework.org/schema/security
|>   
http://www.springframework.org/schema/security/spring-
|security-3.2.xsd
|>   http://www.springframework.org/schema/util
|>   
http://www.springframework.org/schema/util/spring-util.xsd
|>   http://unicon.net/schema/cas
|>
|> http://unicon.net/schema/cas/cas-addons.xsd";>
|>
|> After restarting Tomcat, I can't get to the login page. The log show this:
|>
|>
|> 2015-02-03 16:01:40,237 ERROR
|> [org.jasig.cas.web.init.SafeContextLoaderListener]
|> - SafeContextLoaderListener:
|> The Spring ContextLoaderListener we wrap threw on contextInitialized.
|> But for our having caught this error, the web application context
|> would not have initialized.
|> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
|> Line 65 in XML document from ServletContext resource
|> [/WEB-INF/deployerConfigContext.xml] i s invalid; nested exception is
|> org.xml.sax.SAXParseException; lineNumber: 65; col
|> umnNumber: 48; cvc-complex-type.2.4.c: The matching wildcard is
|> strict, but no de claration can be found for element 'cas:json-services-
|registry'.
|>
|>
|>
|> |-Original Message-
|> |From: mepst...@gwork254.lis.illinois.edu
|> |[mailto:mepst...@gwork254.lis.illinois.edu] On Behalf Of Milt Epstein
|> |Sent: Tuesday, February 03, 2015 1:36 PM
|> |To: cas-user@lists.jasig.org
|> |Subject: RE: [cas-user] question about non-web console service
|> |registration
|> |
|> |Answers inline below.
|> |
|> |Milt Epstein
|> |Applications Developer
|> |Graduate School of Library and Information Science (GSLIS) University
|> |of Illinois at Urbana-Champaign (UIUC) mepst...@illinois.edu
|> |
|> |
|> |On Tue, 3 Feb 2015, Chris Adams wrote:
|> |
|> |> Thank you.
|> |>
|> |> I attempted to use JSON, using
|> |>  |> -Re
|> |> gistry> as a reference, but couldn't get it working. From the
|> |> gistry> cas.log
|> |> :
|> |>
|> |> 2015-02-02 14:54:42,226 ERROR
|> |[org.jasig.cas.web.init.SafeContextLoaderListener] -
|> |SafeContextLoaderListener:
|> |> The Spring ContextLoaderListener we wrap threw on contextInitialized.
|> |> But for our having caught this error, the web application context
|> |> would not
|> |have initialized.
|> |>
|org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
|> |Line 57 in XML document from ServletContext resource [/WEB-
|> |INF/deployerConfigContext.xml] is invalid; nested exception is
|> |org.xml.sax.SAXParseException; lineNumber: 57; columnNumber: 48; The
|> |prefix "cas" for element "cas:json-services-registry" is not bound.
|> |
|> |In XML files, when you see something like
|> |"cas:json-services-registry", the part before the ':' is the
|> |namespace being used for the tag.  This namespace has to have been
|> |defined earlier, in this case, in the beans tag.  If you look at the 
examples
|on the page you reference, they contain something like:
|> |
|> |   xmlns:cas="http://unicon.net/schema/cas";
|> |
|> |That defines the cas namespace.  It sounds like your XML file is missing
|that.
|> |
|> |
|> |> For YAML, is this what you are referring to?
|> |>
|> |> https://github.com/unicon-cas-addons/cas-addon-yaml-services-regist
|> |> ry
|> |
|> |Yes.  If you're using CAS 4.0.x, this is easier to get going with, as
|> |compared with the JSON version above.
|> |
|> |
|> |> Just out of curiosity, does service registry utilizing
|> |> deployConfigContext.xml without utilizing a database, allow one to
|> |> register service data that persists acro

RE: [cas-user] Intermittant Login Issues for one application

2015-02-04 Thread Whittaker, Geoffrey
Thanks.  I’ll look into that today and let you know if I find anything 
interesting.

Geoff

From: Scott Battaglia [mailto:scott.battag...@gmail.com]
Sent: Tuesday, February 03, 2015 5:10 PM
To: cas-user@lists.jasig.org
Subject: RE: [cas-user] Intermittant Login Issues for one application


A session will time out regardless.  I believe the default is like 5 minutes.
On Feb 3, 2015 2:55 PM, "Whittaker, Geoffrey" 
mailto:geoff.whitta...@unf.edu>> wrote:
I can’t say with certainty that it’s been after ‘x’ amount of time.  However, 
my first thought was the terminate websession listener as I’ve had problems 
with it in the past.  I disabled it by commenting it out in cas-servelet and I 
didn’t see a change.

Geoff

From: Scott Battaglia 
[mailto:scott.battag...@gmail.com]
Sent: Tuesday, February 03, 2015 8:38 AM
To: cas-user@lists.jasig.org
Subject: Re: [cas-user] Intermittant Login Issues for one application

If its the session time out issues, 200 is the right response as there's no 
actual error just an expired session.

How much time is passing from when the page is loaded to when you hit Login?

On Tue, Feb 3, 2015 at 8:31 AM, Whittaker, Geoffrey 
mailto:geoff.whitta...@unf.edu>> wrote:
Essentially, yes –but only sometimes.

The access log in tomcat shows a 200 response when it doesn’t work and a 302 
when it does.

Geoff

From: Scott Battaglia 
[mailto:scott.battag...@gmail.com]
Sent: Tuesday, February 03, 2015 8:09 AM
To: cas-user@lists.jasig.org
Subject: Re: [cas-user] Intermittant Login Issues for one application

If I'm understanding your issue, you're visiting the login page and after 
attempting to login, it refreshes the page instead of redirecting?

The login page uses a HTTP Servlet Session so its possible your time between 
visiting the page and logging in is greater than the session time out.

On Mon, Feb 2, 2015 at 2:28 PM, Whittaker, Geoffrey 
mailto:geoff.whitta...@unf.edu>> wrote:
I’m having intermittent issues with a single application and my CAS 4 instance.

When clicking login on the cas form sometimes the cas server returns 200  
instead of 302 directing me back to the application to initiate service ticket 
validation.  Other times, it works without issue.

I’m not sure what this could be as it’s the first time I’ve come across it and 
it worked just fine in 3.5.2.

Has anyone come across anything like this before?

Geoff

--

You are currently subscribed to 
cas-user@lists.jasig.org as: 
scott.battag...@gmail.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: 
geoff.whitta...@unf.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: 
scott.battag...@gmail.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: 
geoff.whitta...@unf.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: 
scott.battag...@gmail.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: 
geoff.whitta...@unf.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


Re: [cas-user] question about non-web console service registration

2015-02-04 Thread Dmitriy Kopylenko
Those are "virtual" resources mapped to physical XSD on the classpath. One 
needs to make sure the cas-addons-x.y.jar is available on the app's classpath. 
This is standard Spring's custom XML schema authoring machinery. 

Cheers,
D. 

Sent from my iPhone

> On Feb 4, 2015, at 07:04, Alberto Cabello Sánchez  wrote:
> 
> FWIW, the following URLs yield HTTP 404 errors:
> 
>>   http://unicon.net/schema/cas
>>   http://unicon.net/schema/cas/cas-addons.xsd";>
> 
> -- 
> Alberto Cabello Sánchez
> 
> 
> -- 
> You are currently subscribed to cas-user@lists.jasig.org as: 
> dkopyle...@unicon.net
> 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] question about non-web console service registration

2015-02-04 Thread Alberto Cabello Sánchez
FWIW, the following URLs yield HTTP 404 errors:

>http://unicon.net/schema/cas
>http://unicon.net/schema/cas/cas-addons.xsd";>

-- 
Alberto Cabello Sánchez


-- 
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] question about non-web console service registration

2015-02-04 Thread Dmitriy Kopylenko
FWIW,

can you attach your entire file?

Cheers,
Dmitriy. 

Sent from my iPhone

> On Feb 3, 2015, at 19:23, Chris Adams  wrote:
> 
> Thank you for your reply. 
> 
> I did have the line "xmlns:cas="http://unicon.net/schema/cas"; defined.
> 
> http://www.springframework.org/schema/beans";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xmlns:p="http://www.springframework.org/schema/p";
>   xmlns:c="http://www.springframework.org/schema/c";
>   xmlns:tx="http://www.springframework.org/schema/tx";
>   xmlns:util="http://www.springframework.org/schema/util";
>   xmlns:sec="http://www.springframework.org/schema/security";
>   xmlns:cas="http://unicon.net/schema/cas";
>   xsi:schemaLocation="http://www.springframework.org/schema/beans
>   
> http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
>   http://www.springframework.org/schema/tx
>   
> http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
>   http://www.springframework.org/schema/security
>   
> http://www.springframework.org/schema/security/spring-security-3.2.xsd
>   http://www.springframework.org/schema/util
>   
> http://www.springframework.org/schema/util/spring-util.xsd
>   http://unicon.net/schema/cas
>   http://unicon.net/schema/cas/cas-addons.xsd";>
> 
> After restarting Tomcat, I can't get to the login page. The log show this:
> 
> 
> 2015-02-03 16:01:40,237 ERROR 
> [org.jasig.cas.web.init.SafeContextLoaderListener]
> - SafeContextLoaderListener:
> The Spring ContextLoaderListener we wrap threw on contextInitialized.
> But for our having caught this error, the web application context would not 
> have
> initialized.
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 
> 65 in
> XML document from ServletContext resource 
> [/WEB-INF/deployerConfigContext.xml] i
> s invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 65; 
> col
> umnNumber: 48; cvc-complex-type.2.4.c: The matching wildcard is strict, but 
> no de
> claration can be found for element 'cas:json-services-registry'.
> 
> 
> 
> |-Original Message-
> |From: mepst...@gwork254.lis.illinois.edu
> |[mailto:mepst...@gwork254.lis.illinois.edu] On Behalf Of Milt Epstein
> |Sent: Tuesday, February 03, 2015 1:36 PM
> |To: cas-user@lists.jasig.org
> |Subject: RE: [cas-user] question about non-web console service registration
> |
> |Answers inline below.
> |
> |Milt Epstein
> |Applications Developer
> |Graduate School of Library and Information Science (GSLIS) University of
> |Illinois at Urbana-Champaign (UIUC) mepst...@illinois.edu
> |
> |
> |On Tue, 3 Feb 2015, Chris Adams wrote:
> |
> |> Thank you.
> |>
> |> I attempted to use JSON, using
> |>  |> gistry> as a reference, but couldn't get it working. From the cas.log
> |> :
> |>
> |> 2015-02-02 14:54:42,226 ERROR
> |[org.jasig.cas.web.init.SafeContextLoaderListener] -
> |SafeContextLoaderListener:
> |> The Spring ContextLoaderListener we wrap threw on contextInitialized.
> |> But for our having caught this error, the web application context would not
> |have initialized.
> |> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> |Line 57 in XML document from ServletContext resource [/WEB-
> |INF/deployerConfigContext.xml] is invalid; nested exception is
> |org.xml.sax.SAXParseException; lineNumber: 57; columnNumber: 48; The
> |prefix "cas" for element "cas:json-services-registry" is not bound.
> |
> |In XML files, when you see something like "cas:json-services-registry", the
> |part before the ':' is the namespace being used for the tag.  This namespace
> |has to have been defined earlier, in this case, in the beans tag.  If you 
> look at
> |the examples on the page you reference, they contain something like:
> |
> |   xmlns:cas="http://unicon.net/schema/cas";
> |
> |That defines the cas namespace.  It sounds like your XML file is missing 
> that.
> |
> |
> |> For YAML, is this what you are referring to?
> |>
> |> https://github.com/unicon-cas-addons/cas-addon-yaml-services-registry
> |
> |Yes.  If you're using CAS 4.0.x, this is easier to get going with, as 
> compared
> |with the JSON version above.
> |
> |
> |> Just out of curiosity, does service registry utilizing
> |> deployConfigContext.xml without utilizing a database, allow one to
> |> register service data that persists across restarts ?
> |
> |If I understand you correctly, then the answer is yes.  Note that if you're 
> using
> |the JSON or YAML services registry, it's not really just utilizing
> |deployConfigContext.xml.  But using these schemes, as long as the services
> |registry file persists, the information it contains will be used.  If you 
> change
> 

Re: [cas-user] Limit service access on a per-user basis

2015-02-04 Thread Giorgio Maria Santini
Hi Dmitriy,

I'm using Cas version 4.0.1 . Thank for the link I will take a look at 
it, maybe could inspire me

Il 03/02/2015 16:25, Dmitriy Kopylenko ha scritto:
> Which version of CAS?
>
> For 3.5.x line there is a simple role-based add on that might be able 
> to solve your use case: 
> https://github.com/Unicon/cas-addons/wiki/Role-Based-Services-Authorization
>
> For version 4.1 (not yet released), there is a “native" authorization 
> facility is being developed (as far as I’m aware).
>
> Best,
> Dmitriy.
>
>> On Feb 3, 2015, at 9:29 AM, Giorgio Maria Santini 
>> mailto:gsant...@voiptech.it>> wrote:
>>
>> Hello,
>>
>> I'm looking for a way to limit service access on a per-user basis. 
>> Thus, I check for a registeredService, I authenticate the user, and 
>> then I want to stop the authentication process if the user has no the 
>> abilty to access the registeredService. I don't know if there is a 
>> built-in facility in Cas or if I have to customize the login flow to 
>> accomplish the task. Imagine I have users A,B,C, and services S1 and 
>> S2, I'd like to be able to say "users A,B use services S1 and S2. 
>> User C uses service S2 not S1".
>>
>> Thanks for any suggestion
>> -- 
>> You are currently subscribed tocas-u...@lists.jasig.org  
>>   as:dkopyle...@unicon.net  
>> 
>> To unsubscribe, change settings or access archives, 
>> seehttp://www.ja-sig.org/wiki/display/JSG/cas-user
>
> -- 
> You are currently subscribed to cas-user@lists.jasig.org as: 
> gsant...@voiptech.it
> 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] Limit service access on a per-user basis

2015-02-04 Thread Giorgio Maria Santini
I need to use cas to manage SSO in a multi-company 
multi-service-per-company scenario. Thus, I have an user repository 
where each user is owned by a company, and this company has multiple 
services handled by a service repository. Those services are going to 
handle user access via cas. I want cas to avoidusers owned by Company A 
try to access to services owned by Company B. As the handle 
authentication mechanism has no cosciousness about the caller service, 
I'm wondering if put a Grant-User-To-Service Action just before the 
"redirect" action-state of the login flow could be a valid solution to 
my problem. All of this beacuse I don't want to have to tell to 
developers of services "ehy man, handle carefully the logged user 
beacuse it could be a user of another company" as it could be not 
appreciated.

My first thought was to put some "attribute requirements" in the 
RegistereService and populate User attributes in the right way, but it 
seems to me that "attribute requirements" just filter attributes, 
doesn't avoid user login or user access to the service.

Am I wrong?

Thank you

Il 03/02/2015 18:56, Mike Seiler ha scritto:
> I do this on the service application side.So once authenticated, 
> the service a user is accessing checks their roles/membershipt and 
> allows them in or denies them.
>
> If you are able to pull the "memberof" attributes via CAS you can have 
> your application stop the process based on that alone without needing 
> to make a secondary call to your LDAP or AD inside your service 
> application.
>
> On Tue, Feb 3, 2015 at 6:29 AM, Giorgio Maria Santini 
> mailto:gsant...@voiptech.it>> wrote:
>
> Hello,
>
> I'm looking for a way to limit service access on a per-user basis.
> Thus, I check for a registeredService, I authenticate the user,
> and then I want to stop the authentication process if the user has
> no the abilty to access the registeredService. I don't know if
> there is a built-in facility in Cas or if I have to customize the
> login flow to accomplish the task. Imagine I have users A,B,C, and
> services S1 and S2, I'd like to be able to say "users A,B use
> services S1 and S2. User C uses service S2 not S1".
>
> Thanks for any suggestion
>
> -- 
> You are currently subscribed tocas-u...@lists.jasig.org  
>   as:michaelsei...@fuller.edu  
> 
> To unsubscribe, change settings or access archives, 
> seehttp://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
>
>
> -- 
> *Michael Seiler*
> --
> Systems Integration Engineer
> Fuller Theological Seminary
> Phone: (970) 306-6105
> michaelsei...@fuller.edu 
>
> *Please NOTE:*
> I respond to email at 8 AM, 1PM, and at 4:30PM.  If you need more 
> immediate help, please contact TSS (626.584.5675) and they can route 
> the issue to the appropriate person.  If this is a business process 
> life or death emergency, you may call me at the above number.
> -- 
> You are currently subscribed to cas-user@lists.jasig.org as: 
> gsant...@voiptech.it
> 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