Re: [cas-user] Registry service from CAS MANAGEMENT WEB APP to MONGODB

2020-03-17 Thread Richard Frovarp
Yeah, there's something odd with the 5.3 version of the manager. Even
withe version control bits turned off, it still wants to go to the
services-repo directory. Also, with JPA, it doesn't work with the
latest server versions of 5.3 for SAML2 services. Not sure if you will
see that problem with MongoDB or not.

On Mon, 2020-03-16 at 23:19 +0700, Nguyen Tran Thanh Lam wrote:
> Dear Mr Ray Bon
> But Web Management can only create json file and store in
> /etc/cas/services-repo.
> And I want to store services in mongodB
> It conflicted.
> 
> 
> Vào 23:14, T.2, 16 Th3, 2020 Ray Bon  đã viết:
> > Why do you want to have multiple service registry locations?
> > 
> > If you want to use MongoDB, remove json entry.
> > 
> > Ray
> > 
> > On Fri, 2020-03-13 at 20:52 -0700, Napoleon Ponaparte wrote:
> > > Hi all,
> > > I have confused with service registry.
> > > I have  two methods to store service.
> > > 
> > > Method 1: Using cas-server-support-json-service
> > > 
> > > By compile "org.apereo.cas:cas-server-support-json-service-
> > > registry:6.1.3"
> > > The CAS server will read service from directory
> > > /etc/cas/services-repo
> > > 
> > > Method 2: Using cas-server-support-mongo-service-registry
> > > 
> > > By compile "org.apereo.cas:cas-server-support-mongo-service-
> > > registry:6.1.3"
> > > The CAS server will read service from directory
> > > /etc/cas/services-repo then load these service to MongoDB
> > > 
> > > But, I have a trouble now.
> > > I cannot use both methods.  Exactly if I build cas with 2 methods
> > > like
> > > 
> > > compile "org.apereo.cas:cas-server-support-json-service-
> > > registry:6.1.3"
> > > compile "org.apereo.cas:cas-server-support-mongo-service-
> > > registry:6.1.3"
> > > -->the cas will build fail.
> > > 
> > > And the CAS Management web app seem only save new service to
> > > directory.
> > > This is lead to I can't create new service if I want to store
> > > service to MongoDB. 
> > > Note: I want to store service to mongoDB to deploy cas in
> > > cluster.
> > > So, Do you have any suggest to solve this problem?
> > > Thank you.
> > > 
> > > 
> > 
> >  -- 
> > Ray Bon
> > Programmer Analyst
> > Development Services, University Systems
> > 2507218831 | CLE 019 | r...@uvic.ca
> > 
> > I respectfully acknowledge that my place of work is located within
> > the ancestral, traditional and unceded territory of the Songhees,
> > Esquimalt and WSÁNEĆ Nations.
> > -- 
> > - Website: https://apereo.github.io/cas
> > - Gitter Chatroom: https://gitter.im/apereo/cas
> > - List Guidelines: https://goo.gl/1VRrw7
> > - Contributions: https://goo.gl/mh7qDG
> > --- 
> > 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 view this discussion on the web visit https://groups.google.com/
> > a/apereo.org/d/msgid/cas-
> > user/8b90d35d44ca242663b7d6e318dffc286764633b.camel%40uvic.ca.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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 view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/cc18a1ed309937c5298d722cb9ee54db18855f4d.camel%40ndsu.edu.


Re: [cas-user] Registry service from CAS MANAGEMENT WEB APP to MONGODB

2020-03-16 Thread Ray Bon
The management app should must have the same store as cas.
You can add the mongo dependency to the management overlay, same as cas.

Ray

On Mon, 2020-03-16 at 23:23 +0700, Nguyen Tran Thanh Lam wrote:
Exactly I want I can use Web Management web App create new services and store 
it to MongoD

Vào 23:14, T.2, 16 Th3, 2020 Ray Bon mailto:r...@uvic.ca>> đã 
viết:
Why do you want to have multiple service registry locations?

If you want to use MongoDB, remove json entry.

Ray

On Fri, 2020-03-13 at 20:52 -0700, Napoleon Ponaparte wrote:
Hi all,
I have confused with service registry.
I have  two methods to store service.

Method 1: Using cas-server-support-json-service

By compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
The CAS server will read service from directory /etc/cas/services-repo

Method 2: Using cas-server-support-mongo-service-registry

By compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
The CAS server will read service from directory /etc/cas/services-repo then 
load these service to MongoDB

But, I have a trouble now.
I cannot use both methods.  Exactly if I build cas with 2 methods like

compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
-->the cas will build fail.

And the CAS Management web app seem only save new service to directory.
This is lead to I can't create new service if I want to store service to 
MongoDB.
Note: I want to store service to mongoDB to deploy cas in cluster.
So, Do you have any suggest to solve this problem?
Thank you.



--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
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 view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8b90d35d44ca242663b7d6e318dffc286764633b.camel%40uvic.ca.

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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 view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9f7d6dcddb5b07b0903801538ac64d2c53642327.camel%40uvic.ca.


Re: [cas-user] Registry service from CAS MANAGEMENT WEB APP to MONGODB

2020-03-16 Thread Nguyen Tran Thanh Lam
Exactly I want I can use Web Management web App create new services and
store it to MongoD

Vào 23:14, T.2, 16 Th3, 2020 Ray Bon  đã viết:

> Why do you want to have multiple service registry locations?
>
> If you want to use MongoDB, remove json entry.
>
> Ray
>
> On Fri, 2020-03-13 at 20:52 -0700, Napoleon Ponaparte wrote:
>
> Hi all,
> I have confused with service registry.
> I have  two methods to store service.
>
> *Method 1: Using cas-server-support-json-service*
>
> By compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
> The CAS server will read service from directory /etc/cas/services-repo
>
> *Method 2: Using cas-server-support-mongo-service-registry*
>
> By compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
> The CAS server will read service from directory /etc/cas/services-repo
> then load these service to MongoDB
>
> But, I have a trouble now.
> I cannot use both methods.  Exactly if I build cas with 2 methods like
>
> compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
> compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
> -->the cas will build fail.
>
> And the CAS Management web app seem only save new service to directory.
> This is lead to I can't create new service if I want to store service to
> MongoDB.
> Note: I want to store service to mongoDB to deploy cas in cluster.
> So, Do you have any suggest to solve this problem?
> Thank you.
>
>
> --
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 | CLE 019 | r...@uvic.ca
>
> I respectfully acknowledge that my place of work is located within the
> ancestral, traditional and unceded territory of the Songhees, Esquimalt and
> WSÁNEĆ Nations.
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/8b90d35d44ca242663b7d6e318dffc286764633b.camel%40uvic.ca
> 
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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 view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEjUsAgyvJc9rrx%2BuKnfzBzBt_2btsGFsc8ZCNeOeZKV9M-6KA%40mail.gmail.com.


Re: [cas-user] Registry service from CAS MANAGEMENT WEB APP to MONGODB

2020-03-16 Thread Nguyen Tran Thanh Lam
Dear Mr Ray Bon
But Web Management can only create json file and store in
/etc/cas/services-repo.
And I want to store services in mongodB
It conflicted.


Vào 23:14, T.2, 16 Th3, 2020 Ray Bon  đã viết:

> Why do you want to have multiple service registry locations?
>
> If you want to use MongoDB, remove json entry.
>
> Ray
>
> On Fri, 2020-03-13 at 20:52 -0700, Napoleon Ponaparte wrote:
>
> Hi all,
> I have confused with service registry.
> I have  two methods to store service.
>
> *Method 1: Using cas-server-support-json-service*
>
> By compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
> The CAS server will read service from directory /etc/cas/services-repo
>
> *Method 2: Using cas-server-support-mongo-service-registry*
>
> By compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
> The CAS server will read service from directory /etc/cas/services-repo
> then load these service to MongoDB
>
> But, I have a trouble now.
> I cannot use both methods.  Exactly if I build cas with 2 methods like
>
> compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
> compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
> -->the cas will build fail.
>
> And the CAS Management web app seem only save new service to directory.
> This is lead to I can't create new service if I want to store service to
> MongoDB.
> Note: I want to store service to mongoDB to deploy cas in cluster.
> So, Do you have any suggest to solve this problem?
> Thank you.
>
>
> --
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 | CLE 019 | r...@uvic.ca
>
> I respectfully acknowledge that my place of work is located within the
> ancestral, traditional and unceded territory of the Songhees, Esquimalt and
> WSÁNEĆ Nations.
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> 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 view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/8b90d35d44ca242663b7d6e318dffc286764633b.camel%40uvic.ca
> 
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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 view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEjUsAg2CEV9zPnbcP2C2YR%3DyHZuvmSLHZBr8MQ-i6sQMnNQ5g%40mail.gmail.com.


Re: [cas-user] Registry service from CAS MANAGEMENT WEB APP to MONGODB

2020-03-16 Thread Ray Bon
Why do you want to have multiple service registry locations?

If you want to use MongoDB, remove json entry.

Ray

On Fri, 2020-03-13 at 20:52 -0700, Napoleon Ponaparte wrote:
Hi all,
I have confused with service registry.
I have  two methods to store service.

Method 1: Using cas-server-support-json-service

By compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
The CAS server will read service from directory /etc/cas/services-repo

Method 2: Using cas-server-support-mongo-service-registry

By compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
The CAS server will read service from directory /etc/cas/services-repo then 
load these service to MongoDB

But, I have a trouble now.
I cannot use both methods.  Exactly if I build cas with 2 methods like

compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
-->the cas will build fail.

And the CAS Management web app seem only save new service to directory.
This is lead to I can't create new service if I want to store service to 
MongoDB.
Note: I want to store service to mongoDB to deploy cas in cluster.
So, Do you have any suggest to solve this problem?
Thank you.



--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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 view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8b90d35d44ca242663b7d6e318dffc286764633b.camel%40uvic.ca.


[cas-user] Registry service from CAS MANAGEMENT WEB APP to MONGODB

2020-03-13 Thread Napoleon Ponaparte
Hi all,
I have confused with service registry.
I have  two methods to store service.

*Method 1: Using cas-server-support-json-service*

By compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
The CAS server will read service from directory /etc/cas/services-repo

*Method 2: Using cas-server-support-mongo-service-registry*

By compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
The CAS server will read service from directory /etc/cas/services-repo then 
load these service to MongoDB

But, I have a trouble now.
I cannot use both methods.  Exactly if I build cas with 2 methods like

compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3"
compile "org.apereo.cas:cas-server-support-mongo-service-registry:6.1.3"
-->the cas will build fail.

And the CAS Management web app seem only save new service to directory.
This is lead to I can't create new service if I want to store service to 
MongoDB. 
Note: I want to store service to mongoDB to deploy cas in cluster.
So, Do you have any suggest to solve this problem?
Thank you.


-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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 view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d39c01e9-f68e-41c6-a096-31bd9729a1b4%40apereo.org.