[cas-user] Issues getting LDAP going - CAS 4.2.5

2016-09-30 Thread Hank Foss
Thanks to the documentation, I've been able to get far with the CAS build 
so far, but LDAP has been a bit of a challenge so far.

I followed this link to the letter:
https://apereo.github.io/cas/4.2.x/installation/LDAP-Authentication.html 
 Then I re-ran maven by running* mvn install package*, reloaded WAR file, 
and restarted Tomcat - not much luck so far.

What is good is that the log file cas.log has shown the source IP and 
attempting logon username. So that's a step in the right direction: at 
least it's showing the failure!

The local user casuser / Mellon logons are successful, and the cas.log 
shows that too. 

Any advice on LDAP configuration on CAS 4.2.5 is greatly appreciated.


Thanks,
Hank

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/1b2a7338-e6f8-461f-90cc-044c191355cd%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Info on STATISTICS page

2016-09-30 Thread carlos maddaleno cuellar
Hi i wanted to know if someone could explain me whats the diference
between  total jvm memory and max memory

where is this memory 7862 where do i configure this?

[image: Imágenes integradas 1]

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdXa5FEEMs8-W9iB7cAMLRDrUcvAe9bKo4iNppe6CwqzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Pac4j delegate authentication, adding a PrincipalResolver to ClientAuthenticationHandler

2016-09-30 Thread Jérôme LELEU
Hi,

You're right: there is no PrincipalResolver in the
ClientAuthenticationHandler: I guess it would make sense to add that to be
able to fetch additional information. Can you open a Github issue for that
improvement?

Currently, you likely need to override the createResult method of the
authentication handler.

Thanks.
Best regards,
Jérôme



2016-09-30 14:48 GMT+02:00 Charles Le Gallic :

> Hi,
>
> We are currently using CAS 4.2.5 as an OpenId Connect (OIDC) client to
> retrieve the identity provider attributes.
>
> It works like a charm (congratulations to the CAS development team :)).
>
> But we wish to add additional attributes, retrieved from our internal
> database, to the user CAS principal, once the user has been successfully
> authenticated through the OIDC authentication sequence.
>
> As the ClientAuthenticationHandler is registered on the
> AuthenticationManager with no PrincipalResolver, we cannot use any
> attribute repository.
>
> Is there a way to register a Principal Resolver for
> ClientAuthenticationHandler, or is there any other way to achieve our goal ?
>
> Regards,
>
> Charles
>
> --
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To post to this group, send email to cas-user@apereo.org.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/cdd6def3-4402-4146-975a-
> 3e0503866725%40apereo.org
> 
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279LyNCZp8dsQYkTWD2Pz6%3DnfLoDk5QYeO1iFPxtwT5zdoUg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Problems accesing to /cas/statistics

2016-09-30 Thread carlos maddaleno cuellar
hi thanks i could acces i had to reload the application from my application
server so i have another cuestion sorry

my question is can i have multiple ip's like this

cas.securityContext.adminpages.ip=172.18.14.180|172.18.15.35

thanks

2016-09-30 10:18 GMT-06:00 Jérôme LELEU :

> Hi,
>
> Indeed, this is very strange. I don't see any obvious reason.
>
> Can you access your develop server using a .* pattern? My guess is that
> the pattern is not taken into account...
>
> Thanks.
> Best regards,
> Jérôme
>
>
> 2016-09-30 18:11 GMT+02:00 carlos maddaleno cuellar <
> iamcarlosmaddal...@gmail.com>:
>
>> hi this is the error my server is showing when i try to acces
>>
>> ERROR [org.pac4j.http.client.direct.IpClient] - > validate credentials
>> org.pac4j.core.exception.CredentialsException: Unauthorized IP address:
>> 172.18.14.180 -->my ip addres
>>
>>
>> 2016-09-30 10:10 GMT-06:00 Jérôme LELEU :
>>
>>> Hi,
>>>
>>> You should put the incoming IP, so generally your IP, but you must be
>>> sure this is really the IP sent to the develop server.
>>>
>>> What IP address do you see in the logs of your develop server when you
>>> call it?
>>>
>>> Thanks.
>>> Best regards,
>>> Jérôme
>>>
>>>
>>> 2016-09-30 18:02 GMT+02:00 carlos maddaleno cuellar <
>>> iamcarlosmaddal...@gmail.com>:
>>>
 Hi i wanted to know if someone could help me i deployed my cas server
 to my develop server

 so in my localhost http://localhost:8080/cas/statistics i can view it
 son no problem

 but when i try to acces to my develop server on
 http://172.18.141.35:8080/cas/statistics

 it says

 [image: Imágenes integradas 1]


 so i wanted to know what ip do i have tu put on my cas.properties

 on my localhost i have
 cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1

 and on my develop server

 cas.securityContext.adminpages.ip=172\.18\.14\.180|fe80::415
 b:2fad:bb51:1b6c%15

 so the ip of my computer is 172.18.14.180 i have to put my ip or the
 server ip 172.18.141.35 please help

 thanks

 --
 You received this message because you are subscribed to the Google
 Groups "CAS Community" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to cas-user+unsubscr...@apereo.org.
 To post to this group, send email to cas-user@apereo.org.
 Visit this group at https://groups.google.com/a/ap
 ereo.org/group/cas-user/.
 To view this discussion on the web visit https://groups.google.com/a/ap
 ereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9c
 p7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com
 
 .
 For more options, visit https://groups.google.com/a/apereo.org/d/optout
 .

>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cas-user+unsubscr...@apereo.org.
>> To post to this group, send email to cas-user@apereo.org.
>> Visit this group at https://groups.google.com/a/ap
>> ereo.org/group/cas-user/.
>> To view this discussion on the web visit https://groups.google.com/a/ap
>> ereo.org/d/msgid/cas-user/CANEG9%2Bf%3D4BG%3DL4PE8c6v-BbwoOn
>> hbOhoo%3DYKX_j-EpzCdiWbtg%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2Bcwjuaz8mNAXOL51pO_Z%2Bwxy6YTvreEm-k5PjDuwvxH-A%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Problems accesing to /cas/statistics

2016-09-30 Thread Jérôme LELEU
Hi,

Indeed, this is very strange. I don't see any obvious reason.

Can you access your develop server using a .* pattern? My guess is that the
pattern is not taken into account...

Thanks.
Best regards,
Jérôme


2016-09-30 18:11 GMT+02:00 carlos maddaleno cuellar <
iamcarlosmaddal...@gmail.com>:

> hi this is the error my server is showing when i try to acces
>
> ERROR [org.pac4j.http.client.direct.IpClient] -  validate credentials
> org.pac4j.core.exception.CredentialsException: Unauthorized IP address:
> 172.18.14.180 -->my ip addres
>
>
> 2016-09-30 10:10 GMT-06:00 Jérôme LELEU :
>
>> Hi,
>>
>> You should put the incoming IP, so generally your IP, but you must be
>> sure this is really the IP sent to the develop server.
>>
>> What IP address do you see in the logs of your develop server when you
>> call it?
>>
>> Thanks.
>> Best regards,
>> Jérôme
>>
>>
>> 2016-09-30 18:02 GMT+02:00 carlos maddaleno cuellar <
>> iamcarlosmaddal...@gmail.com>:
>>
>>> Hi i wanted to know if someone could help me i deployed my cas server to
>>> my develop server
>>>
>>> so in my localhost http://localhost:8080/cas/statistics i can view it
>>> son no problem
>>>
>>> but when i try to acces to my develop server on
>>> http://172.18.141.35:8080/cas/statistics
>>>
>>> it says
>>>
>>> [image: Imágenes integradas 1]
>>>
>>>
>>> so i wanted to know what ip do i have tu put on my cas.properties
>>>
>>> on my localhost i have
>>> cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1
>>>
>>> and on my develop server
>>>
>>> cas.securityContext.adminpages.ip=172\.18\.14\.180|fe80::415
>>> b:2fad:bb51:1b6c%15
>>>
>>> so the ip of my computer is 172.18.14.180 i have to put my ip or the
>>> server ip 172.18.141.35 please help
>>>
>>> thanks
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "CAS Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cas-user+unsubscr...@apereo.org.
>>> To post to this group, send email to cas-user@apereo.org.
>>> Visit this group at https://groups.google.com/a/ap
>>> ereo.org/group/cas-user/.
>>> To view this discussion on the web visit https://groups.google.com/a/ap
>>> ereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9c
>>> p7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>>
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To post to this group, send email to cas-user@apereo.org.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CANEG9%2Bf%3D4BG%3DL4PE8c6v-
> BbwoOnhbOhoo%3DYKX_j-EpzCdiWbtg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279LyWZKLPh_Y6v2asQ_v2SR5G5ROHs2qWf-vviETT6e8ixg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Problems accesing to /cas/statistics

2016-09-30 Thread carlos maddaleno cuellar
hi this is the error my server is showing when i try to acces

ERROR [org.pac4j.http.client.direct.IpClient] - my ip addres


2016-09-30 10:10 GMT-06:00 Jérôme LELEU :

> Hi,
>
> You should put the incoming IP, so generally your IP, but you must be sure
> this is really the IP sent to the develop server.
>
> What IP address do you see in the logs of your develop server when you
> call it?
>
> Thanks.
> Best regards,
> Jérôme
>
>
> 2016-09-30 18:02 GMT+02:00 carlos maddaleno cuellar <
> iamcarlosmaddal...@gmail.com>:
>
>> Hi i wanted to know if someone could help me i deployed my cas server to
>> my develop server
>>
>> so in my localhost http://localhost:8080/cas/statistics i can view it
>> son no problem
>>
>> but when i try to acces to my develop server on
>> http://172.18.141.35:8080/cas/statistics
>>
>> it says
>>
>> [image: Imágenes integradas 1]
>>
>>
>> so i wanted to know what ip do i have tu put on my cas.properties
>>
>> on my localhost i have
>> cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1
>>
>> and on my develop server
>>
>> cas.securityContext.adminpages.ip=172\.18\.14\.180|fe80::
>> 415b:2fad:bb51:1b6c%15
>>
>> so the ip of my computer is 172.18.14.180 i have to put my ip or the
>> server ip 172.18.141.35 please help
>>
>> thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cas-user+unsubscr...@apereo.org.
>> To post to this group, send email to cas-user@apereo.org.
>> Visit this group at https://groups.google.com/a/ap
>> ereo.org/group/cas-user/.
>> To view this discussion on the web visit https://groups.google.com/a/ap
>> ereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9c
>> p7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2Bf%3D4BG%3DL4PE8c6v-BbwoOnhbOhoo%3DYKX_j-EpzCdiWbtg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Problems accesing to /cas/statistics

2016-09-30 Thread Jérôme LELEU
Hi,

You should put the incoming IP, so generally your IP, but you must be sure
this is really the IP sent to the develop server.

What IP address do you see in the logs of your develop server when you call
it?

Thanks.
Best regards,
Jérôme


2016-09-30 18:02 GMT+02:00 carlos maddaleno cuellar <
iamcarlosmaddal...@gmail.com>:

> Hi i wanted to know if someone could help me i deployed my cas server to
> my develop server
>
> so in my localhost http://localhost:8080/cas/statistics i can view it son
> no problem
>
> but when i try to acces to my develop server on
> http://172.18.141.35:8080/cas/statistics
>
> it says
>
> [image: Imágenes integradas 1]
>
>
> so i wanted to know what ip do i have tu put on my cas.properties
>
> on my localhost i have
> cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1
>
> and on my develop server
>
> cas.securityContext.adminpages.ip=172\.18\.14\.
> 180|fe80::415b:2fad:bb51:1b6c%15
>
> so the ip of my computer is 172.18.14.180 i have to put my ip or the
> server ip 172.18.141.35 please help
>
> thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To post to this group, send email to cas-user@apereo.org.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_
> mrNzw9cp7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279Ly6M8f6fz1Zbi%2B4dM%2B5k8bgUXt44bukLeuu4HDYgpzKdg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


[cas-user] Problems accesing to /cas/statistics

2016-09-30 Thread carlos maddaleno cuellar
Hi i wanted to know if someone could help me i deployed my cas server to my
develop server

so in my localhost http://localhost:8080/cas/statistics i can view it son
no problem

but when i try to acces to my develop server on
http://172.18.141.35:8080/cas/statistics

it says

[image: Imágenes integradas 1]


so i wanted to know what ip do i have tu put on my cas.properties

on my localhost i have
cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1

and on my develop server

cas.securityContext.adminpages.ip=172\.18\.14\.180|fe80::415b:2fad:bb51:1b6c%15

so the ip of my computer is 172.18.14.180 i have to put my ip or the server
ip 172.18.141.35 please help

thanks

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9cp7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Oauth2.0 not redirecting back to app

2016-09-30 Thread Jérôme LELEU
Hi,

Can you post your logs (in DEBUG on org.jasig) to see if it properly goes
through the OAuth controller?

Thanks.
Best regards,
Jérôme


2016-09-30 10:21 GMT+02:00 Jens Hausherr :

> Hi,
>
> I am using 4.2.6 and there are no errors in the logs.
>
> The audit tells me that the authentication was successful and that the TGT
> has been created.
> I am just not redirected back to http(s)://localhost:3000/
> callback?code=...
>
> Here is the initial URL I redirect the browser to:
>
> https://localhost:8443/oauth2.0/authorize?redirect_uri=http%
> 3A%2F%2Flocalhost%3A3000%2Fcallback=notifications=3(%230%2F!
> ~_type=code_id=...
>
> OAuth Service:
> {
>   "@class" : "org.jasig.cas.support.oauth.services.
> OAuthRegisteredService",
>   "clientId": "...",
>   "clientSecret": "...",
>   "bypassApprovalPrompt": false,
>   "serviceId" : "https?://localhost.*",
>   "name" : "development key",
>   "id" : 2505077379
> }
>
> Thanks for looking into it.
>
> Best regards,
> Jens
>
> Jérôme LELEU  schrieb am Fr., 30. Sep. 2016 um
> 08:12 Uhr:
>
>> Hi,
>>
>> Which CAS version do you use? Any error in your logs?
>>
>> Thanks.
>> Best regards,
>> Jérôme
>>
>>
>> 2016-09-29 16:28 GMT+02:00 Jens Hausherr :
>>
>>> Hi,
>>>
>>> I am having some trouble getting my CAS Oauth2.0 Server to work.
>>>
>>> I have set up everything as documented and I get to the login page on
>>> CAS. After succesful login I am 'stranded' at the web login success page.
>>>
>>> OAuth 2.0 should redirect the browser back to callback but does not do
>>> it. I suspect that this is due to some misconfiguration but Googling did
>>> not help yet.
>>>
>>> Anybody has encountered this problem?
>>>
>>> Thanks,
>>> Jens
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "CAS Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cas-user+unsubscr...@apereo.org.
>>> To post to this group, send email to cas-user@apereo.org.
>>> Visit this group at https://groups.google.com/a/
>>> apereo.org/group/cas-user/.
>>> To view this discussion on the web visit https://groups.google.com/a/
>>> apereo.org/d/msgid/cas-user/82e37971-3e15-46f7-b905-
>>> 12e67c03a68e%40apereo.org
>>> 
>>> .
>>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To post to this group, send email to cas-user@apereo.org.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CAOEgWg8o0%2Bwy5ryo5keDHSVhEDAxwRH3C%
> 3D6seMYYouS_0CoXzQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279LyH5OMjfG6neqUSgnRZty6nsvnm%2BqkE%2BdOzDL6Nnndz9w%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Bug on cas-services app "/" slash ?

2016-09-30 Thread Josep Manel Andrés

done.

cheers!

On 30/09/16 11:13, Misagh Moayyed wrote:

Ah, gotcha. Sorry I missed it. Yes, please do file an issue.


--
Misagh

From: Josep Manel Andrés  
Reply: josep.and...@bsc.es 

Date: September 30, 2016 at 12:35:51 PM
To: cas-user@apereo.org  
Subject: Re: [cas-user] Bug on cas-services app "/" slash ?


Yep, I know it, but nothing says that "service name" is going to
create br/>a file, I mean, it is not ""File Name"

I guess it should pop an error stating invalid characters are in use.

Cheers.

On 30/09/16 11:01, Misagh Moayyed wrote:
> Google “invalid characters in file names” and see the list.
>
>
> --
> Misagh
>
> From: Josep Manel Andrés  
> Reply: josep.and...@bsc.es 
> 
> Date: September 30, 2016 at 12:07:36 PM
> To: CAS Community  
> Subject: [cas-user] Bug on cas-services app "/" slash ?
>
>> Hi ,
>> I was trying to add a service named "Observium/Nagios"
>>
>> And it gave me an error, "An error has occurred while attempting to
>> save br/>the service. Please try again later.""
>>
>> When I went to look into the logs, I found it was trying to create
>>
>> /etc/cas/services/Observium/Nagios-5084896551456820.json
>>
>> So I guess when you try to create a service name containing "/" it
>> br/>should say ""you are not allow to use this symbol. Am I right?
>>
>> Using CAS 4.1
>>
>>
>> Cheers!
>>
>> -- br/>Josep Manel Andrés (josep.andres@@bsc.es)
>> Operations - Barcelona Supercomputing Center
>> C/ Jordi Girona, 31 http://www.bsc.es
>> 08034 Barcelona, Spain Tel: +34-93-405 42 14
>> e-mail: syst...@bsc.es Fax: +34-93-413 77 21
>> ---
>>
>> WARNING / LEGAL TEXT: This message is intended only for the use of the
>> individual or entity to which it is addressed and may contain
>> information which is privileged, confidential, proprietary, or exempt
>> from disclosure under applicable law. If you are not the intended
>> recipient or the person responsible for delivering the message to the
>> intended recipient, you are strictly prohibited from disclosing,
>> distributing, copying, or in any way using this message. If you have
>> received this communication in error, please notify the sender and
>> destroy and delete any copies you may have received.
>>
>> http://www.bsc.es/disclaimer
>>
>> -- br/>You received this message because you are subscribed tto the
>> Google Groups "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to cas-user+unsubscr...@apereo.org.
>> To post to this group, send email to cas-user@apereo.org.
>> Visit this group at
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>> To view this discussion on the web visit
>> 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57EE2448.7080007%40bsc.es.
>>
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>
> --
> You received this message because you are subscribed to the Google
> Groups "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cas-user+unsubscr...@apereo.org
> .
> To post to this group, send email to cas-user@apereo.org
> .
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
> To view this discussion on the web visit
> 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57ee29eb.7181aa82.2842%40unicon.net
> 
.
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.

-- br/>Josep Manel Andrés (josep.andres@@bsc.es)
Operations - Barcelona Supercomputing Center
C/ Jordi Girona, 31 http://www.bsc.es
08034 Barcelona, Spain Tel: +34-93-405 42 14
e-mail: syst...@bsc.es Fax: +34-93-413 77 21
---

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

-- br/>You received this message because you are subscribed tto the
Google Groups "CAS Community" group.
To unsubscribe from this group and stop 

Re: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay

2016-09-30 Thread Stephan Arts
Can I relate it to ticket #2024? Since I think it's related to my 
understanding of how to do the overlays with CAS 5.


On 30/09/16 10:59, Misagh Moayyed wrote:


Upload an overlay here: https://github.com/cas-projects/cas-issues


--
Misagh

From: Stephan Arts  
Reply: Stephan Arts  
Date: September 30, 2016 at 10:57:16 AM
To: cas-user@apereo.org  
Subject: Re: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay


I am feeling more and more like an idiot.

There must be something I am missing or fail to understand.

I've tried different things, (even tried a different registry - just 
to see if that helps)


And I am not getting anywhere.

When looking at the attached pom.xml and application.properties, can 
you give me any hint to the source of my stupidity?


Cheers,

Stephan

On 27/09/16 10:31, Misagh Moayyed wrote:

Because:

1. 
https://apereo.github.io/cas/development/installation/Configuration-Properties.html#remember 

2. 
https://apereo.github.io/cas/development/installation/Configuration-Properties.html#ignite-ticket-registry 



--
Misagh

From: Stephan Arts 
Reply: Stephan Arts 
Date: September 27, 2016 at 11:50:40 AM
To: Misagh Moayyed , cas-user@apereo.org 


Subject: Re: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay

If I read (and understand) the information you're referring to 
correctly, adding the appropriate properties to a .yaml or 
.properties file in /etc/cas/config should be enough for CAS to 
understand that it should try to load the IgniteTicketRegistry class.


I've added this to a cas.properties file in the config-location:

cas.authn.accept.users=

ignite.servicesCache.name=serviceTicketsCache
ignite.servicesCache.cacheMode=REPLICATED
ignite.servicesCache.atomicityMode=TRANSACTIONAL
ignite.servicesCache.writeSynchronizationMode=FULL_SYNC
ignite.ticketsCache.name=ticketGrantingTicketsCache
ignite.ticketsCache.cacheMode=REPLICATED
ignite.ticketsCache.atomicityMode=TRANSACTIONAL
ignite.ticketsCache.writeSynchronizationMode=FULL_SYNC

# Comma delimited list of addresses for distributed caches.
ignite.adresses=localhost:47500
ignite.trustStoreFilePath=NULL
ignite.trustStorePasswor=NULL


But nothing happens. I think I am missing some crucial bit in my 
understanding of the concepts involved.
Reading the debug log I don't even see the IgniteTicketRegistry 
classes being loaded although they definitely are in the classpath 
of the cas war-file.


-
Stephan

On 26/09/16 10:17, Misagh Moayyed wrote:


Read:

https://apereo.github.io/cas/development/installation/Configuration-Management.html


Then browse:

https://apereo.github.io/cas/development/installation/Configuration-Properties.html


--
Misagh

From: Stephan Arts 
Reply: Stephan Arts 
Date: September 26, 2016 at 10:44:42 AM
To: cas-user@apereo.org 
Subject: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay


Hi,

I am trying to test out CAS 5, but I am a bit lost on how to 
configure it.


I've added the ignite-ticket-registry and json-service registry 
as br/>dependencies in the .pom file <



org.apereo.cas
cas-server-support-json-service-registry
${cas.version}



org.apereo.cas
cas-server-support-ignite-ticket-registry
${cas.version}


With cas 4.0, I had to specify something in the 
br/>deployerCConfigContext.xml to map mbeans. - Now there is an 
empty .xml br/>fille and some .groovy file to use. The 
documentation specifies that one
of these should be used (I think): 
br/>https://apereo.github.io//cas/development/installation/Maven-Overlay-Installation.html#spring-configuration


But I have no clue where to start. - Is there a list of 
br/>cconfiguration-examples I can look at?


Cheers,

Stephan

-- br/>You received this message because you are subscribed tto 
the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, 
send an email to cas-user+unsubscr...@apereo.org.

To post to this group, send email to cas-user@apereo.org.
Visit this group at 
https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57E8CAE3.7060104%40cosmos.esa.int.
For more options, visit 
https://groups.google.com/a/apereo.org/d/optout.


--
You received this message because you are subscribed to the Google 
Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, 
send an email to cas-user+unsubscr...@apereo.org 

Re: [cas-user] Bug on cas-services app "/" slash ?

2016-09-30 Thread Misagh Moayyed
Ah, gotcha. Sorry I missed it. Yes, please do file an issue.

-- 
Misagh

From: Josep Manel Andrés 
Reply: josep.and...@bsc.es 
Date: September 30, 2016 at 12:35:51 PM
To: cas-user@apereo.org 
Subject:  Re: [cas-user] Bug on cas-services app "/" slash ?  

Yep, I know it, but nothing says that "service name" is going to create  
a file, I mean, it is not "File Name"  

I guess it should pop an error stating invalid characters are in use.  

Cheers.  

On 30/09/16 11:01, Misagh Moayyed wrote:  
> Google “invalid characters in file names” and see the list.  
>  
>  
> --  
> Misagh  
>  
> From: Josep Manel Andrés    
> Reply: josep.and...@bsc.es   
>   
> Date: September 30, 2016 at 12:07:36 PM  
> To: CAS Community    
> Subject: [cas-user] Bug on cas-services app "/" slash ?  
>  
>> Hi ,  
>> I was trying to add a service named "Observium/Nagios"  
>>  
>> And it gave me an error, "An error has occurred while attempting to  
>> save br/>the service. Please try again later.""  
>>  
>> When I went to look into the logs, I found it was trying to create  
>>  
>> /etc/cas/services/Observium/Nagios-5084896551456820.json  
>>  
>> So I guess when you try to create a service name containing "/" it
>> br/>should say ""you are not allow to use this symbol. Am I right?  
>>  
>> Using CAS 4.1  
>>  
>>  
>> Cheers!  
>>  
>> -- br/>Josep Manel Andrés (josep.andres@@bsc.es)  
>> Operations - Barcelona Supercomputing Center  
>> C/ Jordi Girona, 31 http://www.bsc.es  
>> 08034 Barcelona, Spain Tel: +34-93-405 42 14  
>> e-mail: syst...@bsc.es Fax: +34-93-413 77 21  
>> ---  
>>  
>> WARNING / LEGAL TEXT: This message is intended only for the use of the  
>> individual or entity to which it is addressed and may contain  
>> information which is privileged, confidential, proprietary, or exempt  
>> from disclosure under applicable law. If you are not the intended  
>> recipient or the person responsible for delivering the message to the  
>> intended recipient, you are strictly prohibited from disclosing,  
>> distributing, copying, or in any way using this message. If you have  
>> received this communication in error, please notify the sender and  
>> destroy and delete any copies you may have received.  
>>  
>> http://www.bsc.es/disclaimer  
>>  
>> -- br/>You received this message because you are subscribed tto the  
>> Google Groups "CAS Community" group.  
>> To unsubscribe from this group and stop receiving emails from it, send  
>> an email to cas-user+unsubscr...@apereo.org.  
>> To post to this group, send email to cas-user@apereo.org.  
>> Visit this group at  
>> https://groups.google.com/a/apereo.org/group/cas-user/.  
>> To view this discussion on the web visit  
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/57EE2448.7080007%40bsc.es.
>>   
>>  
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.  
>  
> --  
> You received this message because you are subscribed to the Google  
> Groups "CAS Community" group.  
> To unsubscribe from this group and stop receiving emails from it, send  
> an email to cas-user+unsubscr...@apereo.org  
> .  
> To post to this group, send email to cas-user@apereo.org  
> .  
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.  
> To view this discussion on the web visit  
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57ee29eb.7181aa82.2842%40unicon.net
>   
> .
>   
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.  

--  
Josep Manel Andrés (josep.and...@bsc.es)  
Operations - Barcelona Supercomputing Center  
C/ Jordi Girona, 31 http://www.bsc.es  
08034 Barcelona, Spain Tel: +34-93-405 42 14  
e-mail: syst...@bsc.es Fax: +34-93-413 77 21  
---  

WARNING / LEGAL TEXT: This message is intended only for the use of the  
individual or entity to which it is addressed and may contain  
information which is privileged, confidential, proprietary, or exempt  
from disclosure under applicable law. If you are not the intended  
recipient or the person responsible for delivering the message to the  
intended recipient, you are strictly prohibited from disclosing,  
distributing, copying, or in any way using this message. If you have  
received this communication in error, please notify the sender and  
destroy and delete any copies you may have received.  

http://www.bsc.es/disclaimer  

--  
You received this message because you are subscribed to the Google Groups "CAS 
Community" group. 

Re: [cas-user] Bug on cas-services app "/" slash ?

2016-09-30 Thread Josep Manel Andrés
Yep, I know it, but nothing says that "service name" is going to create 
a file, I mean, it is not "File Name"


I guess it should pop an error stating invalid characters are in use.

Cheers.

On 30/09/16 11:01, Misagh Moayyed wrote:

Google “invalid characters in file names” and see the list.


--
Misagh

From: Josep Manel Andrés  
Reply: josep.and...@bsc.es 

Date: September 30, 2016 at 12:07:36 PM
To: CAS Community  
Subject: [cas-user] Bug on cas-services app "/" slash ?


Hi ,
I was trying to add a service named "Observium/Nagios"

And it gave me an error, "An error has occurred while attempting to
save br/>the service. Please try again later.""

When I went to look into the logs, I found it was trying to create

/etc/cas/services/Observium/Nagios-5084896551456820.json

So I guess when you try to create a service name containing "/" it
br/>should say ""you are not allow to use this symbol. Am I right?

Using CAS 4.1


Cheers!

-- br/>Josep Manel Andrés (josep.andres@@bsc.es)
Operations - Barcelona Supercomputing Center
C/ Jordi Girona, 31 http://www.bsc.es
08034 Barcelona, Spain Tel: +34-93-405 42 14
e-mail: syst...@bsc.es Fax: +34-93-413 77 21
---

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

-- br/>You received this message because you are subscribed tto the
Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at
https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57EE2448.7080007%40bsc.es.

For more options, visit https://groups.google.com/a/apereo.org/d/optout.


--
You received this message because you are subscribed to the Google
Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to cas-user+unsubscr...@apereo.org
.
To post to this group, send email to cas-user@apereo.org
.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57ee29eb.7181aa82.2842%40unicon.net
.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


--
Josep Manel Andrés (josep.and...@bsc.es)
Operations - Barcelona Supercomputing Center
C/ Jordi Girona, 31  http://www.bsc.es
08034 Barcelona, Spain Tel: +34-93-405 42 14
e-mail: syst...@bsc.es Fax: +34-93-413 77 21
---

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

--
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57EE2AE0.109%40bsc.es.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Bug on cas-services app "/" slash ?

2016-09-30 Thread Misagh Moayyed
Google “invalid characters in file names” and see the list.

-- 
Misagh

From: Josep Manel Andrés 
Reply: josep.and...@bsc.es 
Date: September 30, 2016 at 12:07:36 PM
To: CAS Community 
Subject:  [cas-user] Bug on cas-services app "/" slash ?  

Hi ,  
I was trying to add a service named "Observium/Nagios"  

And it gave me an error, "An error has occurred while attempting to save  
the service. Please try again later."  

When I went to look into the logs, I found it was trying to create  

/etc/cas/services/Observium/Nagios-5084896551456820.json  

So I guess when you try to create a service name containing "/" it
should say "you are not allow to use this symbol. Am I right?  

Using CAS 4.1  


Cheers!  

--  
Josep Manel Andrés (josep.and...@bsc.es)  
Operations - Barcelona Supercomputing Center  
C/ Jordi Girona, 31 http://www.bsc.es  
08034 Barcelona, Spain Tel: +34-93-405 42 14  
e-mail: syst...@bsc.es Fax: +34-93-413 77 21  
---  

WARNING / LEGAL TEXT: This message is intended only for the use of the  
individual or entity to which it is addressed and may contain  
information which is privileged, confidential, proprietary, or exempt  
from disclosure under applicable law. If you are not the intended  
recipient or the person responsible for delivering the message to the  
intended recipient, you are strictly prohibited from disclosing,  
distributing, copying, or in any way using this message. If you have  
received this communication in error, please notify the sender and  
destroy and delete any copies you may have received.  

http://www.bsc.es/disclaimer  

--  
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.  
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.  
To post to this group, send email to cas-user@apereo.org.  
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.  
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57EE2448.7080007%40bsc.es.
  
For more options, visit https://groups.google.com/a/apereo.org/d/optout.  

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57ee29eb.7181aa82.2842%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay

2016-09-30 Thread Misagh Moayyed
Upload an overlay here: https://github.com/cas-projects/cas-issues 

-- 
Misagh

From: Stephan Arts 
Reply: Stephan Arts 
Date: September 30, 2016 at 10:57:16 AM
To: cas-user@apereo.org 
Subject:  Re: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay  

I am feeling more and more like an idiot.

There must be something I am missing or fail to understand.

I've tried different things, (even tried a different registry - just to see if 
that helps)

And I am not getting anywhere.

When looking at the attached pom.xml and application.properties, can you give 
me any hint to the source of my stupidity?

Cheers,

Stephan

On 27/09/16 10:31, Misagh Moayyed wrote:
Because:

1. 
https://apereo.github.io/cas/development/installation/Configuration-Properties.html#remember
 
2. 
https://apereo.github.io/cas/development/installation/Configuration-Properties.html#ignite-ticket-registry
 

-- 
Misagh

From: Stephan Arts 
Reply: Stephan Arts 
Date: September 27, 2016 at 11:50:40 AM
To: Misagh Moayyed , cas-user@apereo.org 

Subject:  Re: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay

If I read (and understand) the information you're referring to correctly, 
adding the appropriate properties to a .yaml or .properties file in 
/etc/cas/config should be enough for CAS to understand that it should try to 
load the IgniteTicketRegistry class.

I've added this to a cas.properties file in the config-location:
cas.authn.accept.users=

ignite.servicesCache.name=serviceTicketsCache
ignite.servicesCache.cacheMode=REPLICATED
ignite.servicesCache.atomicityMode=TRANSACTIONAL
ignite.servicesCache.writeSynchronizationMode=FULL_SYNC
ignite.ticketsCache.name=ticketGrantingTicketsCache
ignite.ticketsCache.cacheMode=REPLICATED
ignite.ticketsCache.atomicityMode=TRANSACTIONAL
ignite.ticketsCache.writeSynchronizationMode=FULL_SYNC

# Comma delimited list of addresses for distributed caches.
ignite.adresses=localhost:47500
ignite.trustStoreFilePath=NULL
ignite.trustStorePasswor=NULL

But nothing happens. I think I am missing some crucial bit in my understanding 
of the concepts involved.
Reading the debug log I don't even see the IgniteTicketRegistry classes being 
loaded although they definitely are in the classpath of the cas war-file.

-
Stephan

On 26/09/16 10:17, Misagh Moayyed wrote:
Read:
https://apereo.github.io/cas/development/installation/Configuration-Management.html

Then browse:
https://apereo.github.io/cas/development/installation/Configuration-Properties.html
 

-- 
Misagh

From: Stephan Arts 
Reply: Stephan Arts 
Date: September 26, 2016 at 10:44:42 AM
To: cas-user@apereo.org 
Subject:  [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay

Hi,

I am trying to test out CAS 5, but I am a bit lost on how to configure it.

I've added the ignite-ticket-registry and json-service registry as 
br/>dependencies in the .pom file <


org.apereo.cas
cas-server-support-json-service-registry
${cas.version}



org.apereo.cas
cas-server-support-ignite-ticket-registry
${cas.version}


With cas 4.0, I had to specify something in the br/>deployerCConfigContext.xml 
to map mbeans. - Now there is an empty .xml br/>fille and some .groovy file to 
use. The documentation specifies that one
of these should be used (I think): 
br/>https://apereo.github.io//cas/development/installation/Maven-Overlay-Installation.html#spring-configuration

But I have no clue where to start. - Is there a list of 
br/>cconfiguration-examples I can look at?

Cheers,

Stephan

-- br/>You received this message because you are subscribed tto the Google 
Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57E8CAE3.7060104%40cosmos.esa.int.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

--
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57EA2BD2.3000801%40cosmos.esa.int.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an 

[cas-user] Bug on cas-services app "/" slash ?

2016-09-30 Thread Josep Manel Andrés

Hi ,
I was trying to add a service named "Observium/Nagios"

And it gave me an error, "An error has occurred while attempting to save 
the service. Please try again later."


When I went to look into the logs, I found it was trying to create

/etc/cas/services/Observium/Nagios-5084896551456820.json

So I guess when you try to create a service name containing "/" it 
should say "you are not allow to use this symbol. Am I right?


Using CAS 4.1


Cheers!

--
Josep Manel Andrés (josep.and...@bsc.es)
Operations - Barcelona Supercomputing Center
C/ Jordi Girona, 31  http://www.bsc.es
08034 Barcelona, Spain Tel: +34-93-405 42 14
e-mail: syst...@bsc.es Fax: +34-93-413 77 21
---

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

--
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57EE2448.7080007%40bsc.es.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] Oauth2.0 not redirecting back to app

2016-09-30 Thread Jens Hausherr
Hi,

I am using 4.2.6 and there are no errors in the logs.

The audit tells me that the authentication was successful and that the TGT
has been created.
I am just not redirected back to http(s)://localhost:3000/callback?code=...

Here is the initial URL I redirect the browser to:

https://localhost:8443/oauth2.0/authorize?redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback=notifications=3(%230%2F!~_type=code_id=.
..

OAuth Service:
{
  "@class" : "org.jasig.cas.support.oauth.services.OAuthRegisteredService",
  "clientId": "...",
  "clientSecret": "...",
  "bypassApprovalPrompt": false,
  "serviceId" : "https?://localhost.*",
  "name" : "development key",
  "id" : 2505077379
}

Thanks for looking into it.

Best regards,
Jens

Jérôme LELEU  schrieb am Fr., 30. Sep. 2016 um 08:12 Uhr:

> Hi,
>
> Which CAS version do you use? Any error in your logs?
>
> Thanks.
> Best regards,
> Jérôme
>
>
> 2016-09-29 16:28 GMT+02:00 Jens Hausherr :
>
>> Hi,
>>
>> I am having some trouble getting my CAS Oauth2.0 Server to work.
>>
>> I have set up everything as documented and I get to the login page on
>> CAS. After succesful login I am 'stranded' at the web login success page.
>>
>> OAuth 2.0 should redirect the browser back to callback but does not do
>> it. I suspect that this is due to some misconfiguration but Googling did
>> not help yet.
>>
>> Anybody has encountered this problem?
>>
>> Thanks,
>> Jens
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cas-user+unsubscr...@apereo.org.
>> To post to this group, send email to cas-user@apereo.org.
>> Visit this group at
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>> To view this discussion on the web visit
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/82e37971-3e15-46f7-b905-12e67c03a68e%40apereo.org
>> 
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAOEgWg8o0%2Bwy5ryo5keDHSVhEDAxwRH3C%3D6seMYYouS_0CoXzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay

2016-09-30 Thread Stephan Arts

I am feeling more and more like an idiot.

There must be something I am missing or fail to understand.

I've tried different things, (even tried a different registry - just to 
see if that helps)


And I am not getting anywhere.

When looking at the attached pom.xml and application.properties, can you 
give me any hint to the source of my stupidity?


Cheers,

Stephan

On 27/09/16 10:31, Misagh Moayyed wrote:

Because:

1. 
https://apereo.github.io/cas/development/installation/Configuration-Properties.html#remember 

2. 
https://apereo.github.io/cas/development/installation/Configuration-Properties.html#ignite-ticket-registry 



--
Misagh

From: Stephan Arts  
Reply: Stephan Arts  
Date: September 27, 2016 at 11:50:40 AM
To: Misagh Moayyed  , 
cas-user@apereo.org  

Subject: Re: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay

If I read (and understand) the information you're referring to 
correctly, adding the appropriate properties to a .yaml or 
.properties file in /etc/cas/config should be enough for CAS to 
understand that it should try to load the IgniteTicketRegistry class.


I've added this to a cas.properties file in the config-location:

cas.authn.accept.users=

ignite.servicesCache.name=serviceTicketsCache
ignite.servicesCache.cacheMode=REPLICATED
ignite.servicesCache.atomicityMode=TRANSACTIONAL
ignite.servicesCache.writeSynchronizationMode=FULL_SYNC
ignite.ticketsCache.name=ticketGrantingTicketsCache
ignite.ticketsCache.cacheMode=REPLICATED
ignite.ticketsCache.atomicityMode=TRANSACTIONAL
ignite.ticketsCache.writeSynchronizationMode=FULL_SYNC

# Comma delimited list of addresses for distributed caches.
ignite.adresses=localhost:47500
ignite.trustStoreFilePath=NULL
ignite.trustStorePasswor=NULL


But nothing happens. I think I am missing some crucial bit in my 
understanding of the concepts involved.
Reading the debug log I don't even see the IgniteTicketRegistry 
classes being loaded although they definitely are in the classpath of 
the cas war-file.


-
Stephan

On 26/09/16 10:17, Misagh Moayyed wrote:


Read:

https://apereo.github.io/cas/development/installation/Configuration-Management.html


Then browse:

https://apereo.github.io/cas/development/installation/Configuration-Properties.html


--
Misagh

From: Stephan Arts 
Reply: Stephan Arts 
Date: September 26, 2016 at 10:44:42 AM
To: cas-user@apereo.org 
Subject: [cas-user] [CAS 5.0 RC2] Configuring the Maven overlay


Hi,

I am trying to test out CAS 5, but I am a bit lost on how to 
configure it.


I've added the ignite-ticket-registry and json-service registry as 
br/>dependencies in the .pom file <



org.apereo.cas
cas-server-support-json-service-registry
${cas.version}



org.apereo.cas
cas-server-support-ignite-ticket-registry
${cas.version}


With cas 4.0, I had to specify something in the 
br/>deployerCConfigContext.xml to map mbeans. - Now there is an 
empty .xml br/>fille and some .groovy file to use. The 
documentation specifies that one
of these should be used (I think): 
br/>https://apereo.github.io//cas/development/installation/Maven-Overlay-Installation.html#spring-configuration


But I have no clue where to start. - Is there a list of 
br/>cconfiguration-examples I can look at?


Cheers,

Stephan

-- br/>You received this message because you are subscribed tto the 
Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, 
send an email to cas-user+unsubscr...@apereo.org.

To post to this group, send email to cas-user@apereo.org.
Visit this group at 
https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57E8CAE3.7060104%40cosmos.esa.int.
For more options, visit 
https://groups.google.com/a/apereo.org/d/optout.


--
You received this message because you are subscribed to the Google 
Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, 
send an email to cas-user+unsubscr...@apereo.org 
.
To post to this group, send email to cas-user@apereo.org 
.
Visit this group at 
https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/57EA2BD2.3000801%40cosmos.esa.int 
.

For more 

Re: [cas-user] Oauth2.0 not redirecting back to app

2016-09-30 Thread Jérôme LELEU
Hi,

Which CAS version do you use? Any error in your logs?

Thanks.
Best regards,
Jérôme


2016-09-29 16:28 GMT+02:00 Jens Hausherr :

> Hi,
>
> I am having some trouble getting my CAS Oauth2.0 Server to work.
>
> I have set up everything as documented and I get to the login page on CAS.
> After succesful login I am 'stranded' at the web login success page.
>
> OAuth 2.0 should redirect the browser back to callback but does not do it.
> I suspect that this is due to some misconfiguration but Googling did not
> help yet.
>
> Anybody has encountered this problem?
>
> Thanks,
> Jens
>
> --
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To post to this group, send email to cas-user@apereo.org.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/82e37971-3e15-46f7-b905-
> 12e67c03a68e%40apereo.org
> 
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279LwBHtS_nn1QfGX9PO6sazcZ-%2Bu8p01V07W%3DVjZbcDPkDg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.