Re:[cas-user] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
Alright.  I will review this document.
-- 
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] several very basic cas install questions

2015-10-15 Thread Dmitriy Kopylenko
In this particular overlay, those files are externalized to this particular 
location: `/etc/cas`. Have you gone through the doc: 
http://jasig.github.io/cas/4.1.x/installation/Maven-Overlay-Installation.html 
 
? All of this stuff is explained there.

Best,
D.

> On Oct 15, 2015, at 2:40 PM, Jonas Steinberg  
> wrote:
> 
> But shouldn't cas.property and log-whatever just be built into my war?  
> -- 
> 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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
But shouldn't cas.property and log-whatever just be built into my war?  
-- 
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] several very basic cas install questions

2015-10-15 Thread Dmitriy Kopylenko
Create directory `/etc/cas` or `c:\etc\cas` if on windows and copy 
cas.properties and log4j2.xml there.

But in general, you will need to look at your Servlet container’s logs to see 
what is going on when you deploy cas.war and for any indications of errors, etc.

D.

> On Oct 15, 2015, at 2:27 PM, Jonas Steinberg  
> wrote:
> 
> Alright, here's where I'm at:
> 
> I deleted ldapConfigContext.  
> 
> I copied and pasted the default deployConfigContext from github into my 
> deployConfigContext, so that took care of any LDAP stuff in 
> deployConfigContext.
> 
> I deleted the LDAP dependency from the pom.
> 
> It built but I'n unable to access cas at 
> https:server.com:8443or8080/cas/login.
> 
> Any thoughts?
> 
> Do I need to modify cas.properties at all? 
> -- 
> 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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
Alright, here's where I'm at:

I deleted ldapConfigContext.  

I copied and pasted the default deployConfigContext from github into my 
deployConfigContext, so that took care of any LDAP stuff in deployConfigContext.

I deleted the LDAP dependency from the pom.

It built but I'n unable to access cas at https:server.com:8443or8080/cas/login.

Any thoughts?

Do I need to modify cas.properties at all? 
-- 
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] several very basic cas install questions

2015-10-15 Thread Dmitriy Kopylenko
It won’t deploy, as it will require you to have an LDAP directory available. 
You could simply delete it altogether and this will allow Maven to pull in the 
default one from CAS’ published war artifact, which is this -> 
https://github.com/Jasig/cas/blob/v4.1.0/cas-server-webapp/src/main/webapp/WEB-INF/deployerConfigContext.xml
 


when you run `mvn clean package`

It is set up with simple in-memory authentication handler 
https://github.com/Jasig/cas/blob/v4.1.0/cas-server-webapp/src/main/webapp/WEB-INF/deployerConfigContext.xml#L109
 

 with one user: casuser and password: Mellon

Cheers,
D.

> On Oct 15, 2015, at 1:55 PM, Jonas Steinberg  
> wrote:
> 
> What will happen if I just leave the LDAP stuff in deployConfig?  Will it 
> break the war?
> -- 
> 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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
What will happen if I just leave the LDAP stuff in deployConfig?  Will it break 
the war?
-- 
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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
I'll d both.
-- 
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] several very basic cas install questions

2015-10-15 Thread Dmitriy Kopylenko
That’d be git stuff i.e. `git clone 
g...@github.com:UniconLabs/simple-cas4-overlay-template.git` followed by `git 
checkout cas41-with-HZ-and-LDAP`

But for the better results, I’d highly recommend you start here: 
http://jasig.github.io/cas/4.1.x/installation/Maven-Overlay-Installation.html 
 
and go through the installation process step by step to better understand the 
overlay process.

Best,
D.

> On Oct 15, 2015, at 1:31 PM, Jonas Steinberg  
> wrote:
> 
> Alright: last question.
> 
> When you say, "You could just clone it", what's the "it" specifically that 
> you're referring to?  And how do I check the branch out?  This will probably 
> be my last question. Sorry to bombard you.
> -- 
> 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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
Alright: last question.

When you say, "You could just clone it", what's the "it" specifically that 
you're referring to?  And how do I check the branch out?  This will probably be 
my last question. Sorry to bombard you.
-- 
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] several very basic cas install questions

2015-10-15 Thread Dmitriy Kopylenko
No. That documentation link is for the “development” version which is not 
currently released (4.2.0). That bean “alias" is a new feature and will be 
available in 4.2.0.

This is the correct link for the current GA version -> 
http://jasig.github.io/cas/4.1.x/installation/Hazelcast-Ticket-Registry.html 


Best,
D.

> On Oct 15, 2015, at 1:23 PM, Jonas Steinberg  
> wrote:
> 
> Do I need to include the hazelcast alias line in deployerConfigContext from 
> cas's documentation?
> -- 
> 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] several very basic cas install questions

2015-10-15 Thread Dmitriy Kopylenko
You don’t need to include any files. Just use the overlay as is. When you `mvn 
clean package` it will pull the appropriate dependencies (already pre-declared 
in the pom.xml) and will assemble the final cas.war archive ready for 
deployment.

As for LDAP, you just get rid of that dependency in the pom and modify the 
`WEB-INF/deployerConfigContext.xml` to satisfy your local authentication source 
needs.

D.

> On Oct 15, 2015, at 1:15 PM, Jonas Steinberg  
> wrote:
> 
> Okay, that's fine.  What I don't understand is what files do I actually need 
> from cas to include?  Or am I missing something?
> -- 
> 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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
Do I need to include the hazelcast alias line in deployerConfigContext from 
cas's documentation?
-- 
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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
Also, we're not using LDAP or anything like that.  Just CAS.  So...
-- 
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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
Okay, that's fine.  What I don't understand is what files do I actually need 
from cas to include?  Or am I missing something?
-- 
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] several very basic cas install questions

2015-10-15 Thread Dmitriy Kopylenko
Check this branch out: 
https://github.com/UniconLabs/simple-cas4-overlay-template/tree/cas41-with-HZ-and-LDAP
 


It uses the 4.1.0 and is pre-configured with Hazelcast ticket registry. You 
could just clone it, checkout this branch and start using it as a base for your 
own overlay.

Cheers,
Dmitriy.

> On Oct 15, 2015, at 12:37 PM, Jonas Steinberg  
> wrote:
> 
> Okay, so I've looked at the overlay template.  Okay.  So my only question is: 
> what files from CAS do I need to include to correctly build 
> cas-server-integration-hazelcast?  Do I need to include cas-server-webapp?  
> How about also cas-server-integration-hazelcast?  What else?  I think this 
> will get me going.
> -- 
> 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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
Okay, so I've looked at the overlay template.  Okay.  So my only question is: 
what files from CAS do I need to include to correctly build 
cas-server-integration-hazelcast?  Do I need to include cas-server-webapp?  How 
about also cas-server-integration-hazelcast?  What else?  I think this will get 
me going.
-- 
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] several very basic cas install questions

2015-10-15 Thread Milt Epstein
Did you look at the sample Maven overlay from Unicon?:

https://github.com/UniconLabs/simple-cas4-overlay-template

That contains a pom.xml, as well as a few other things that are
commonly customized -- in etc there's cas.properties and log4j2.xml,
and under the src branch there's spring-configuration and
propertyFileConfigurer.xml.  As the page says, you'll almost certainly
need to customize cas.properties and deployerConfigContext.xml.

What exactly you include in there depends on what you're going to
modify/customize.  With minor local customizations, you might have
just those few files; if you want/need to change more, you'll have
other things in there.

Milt Epstein
Programmer in Computational Genomics
Institute for Genomic Biology (IGB)
University of Illinois at Urbana-Champaign (UIUC)
mepst...@illinois.edu


On Thu, 15 Oct 2015, Jonas Steinberg wrote:

> Milt:
> 
> So I create a separate directory with a separate pom.  Okay.  Where do I get 
> everything I need to put in that pom (besides the dependency that's mentioned 
> in Cas's Hazelcast doc: 
> http://jasig.github.io/cas/development/installation/Hazelcast-Ticket-Registry.html)?
>   What other files should I include in my separate directory?
> 
> The link I included is exactly what I am using to configure my deploy. I've 
> looked at the Unicon hazelcast template link you provided early, but doesn't 
> the link above make needing the Unicon link obsolete?
> 
> -Jonas
> -- 
> You are currently subscribed to cas-user@lists.jasig.org as: 
> mepst...@illinois.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] several very basic cas install questions

2015-10-15 Thread Jonas Steinberg
Milt:

So I create a separate directory with a separate pom.  Okay.  Where do I get 
everything I need to put in that pom (besides the dependency that's mentioned 
in Cas's Hazelcast doc: 
http://jasig.github.io/cas/development/installation/Hazelcast-Ticket-Registry.html)?
  What other files should I include in my separate directory?

The link I included is exactly what I am using to configure my deploy. I've 
looked at the Unicon hazelcast template link you provided early, but doesn't 
the link above make needing the Unicon link obsolete?

-Jonas
-- 
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] several very basic cas install questions

2015-10-15 Thread Milt Epstein
Sounds like you're not using the Maven overlay process properly.  You
need to create a separate directory, with a pom.xml and whatever other
files and directories and directory structure you need (e.g., what
you're overriding from the base install).  You make changes there
(e.g., copying in the base version of what you need and then changing
it), not in the base install (and in fact you may not even need to
download that directly).

I'm not sure what is the definitive CAS Maven Overlay document out
there these days, but you can search for it.  It looks like you're
using CAS version 4.1, so perhaps these will help:

http://jasig.github.io/cas/4.1.x/

http://jasig.github.io/cas/4.1.x/installation/Maven-Overlay-Installation.html

This last page points to this sample/reference project:

https://github.com/UniconLabs/simple-cas4-overlay-template

Milt Epstein
Programmer in Computational Genomics
Institute for Genomic Biology (IGB)
University of Illinois at Urbana-Champaign (UIUC)
mepst...@illinois.edu


On Thu, 15 Oct 2015, Jonas Steinberg wrote:

> I've been working very hard on my cas install the last couple days so I 
> pretty much know what needs to be done.  Now I just have a couple of basic 
> questions and that should get me on my way.
> 
> 1) The instructions for 
> http://jasig.github.io/cas/development/installation/Hazelcast-Ticket-Registry.html
>  which is the integration I'm completing say: "This ticket registry 
> implementation is enabled by simply including the module in the Maven overlay 
> pom".  Okay.  Which POM do I add this dependency to?  The POM that is right 
> at $cas_home/pom.xml?  The pom that is at $cas_home/cas-server-core/pom.xml?  
> The pom that is at $cas_home/cas-server-integration-hazelcast/pom.xml?  Which 
> one?
> 
> 2) Where do I add the  $cas_home/cas-server-webapp/target/cas-server-webapp-4.1.0/WEB-INF/deployerConfigContext.xml?
>   If not, where should I put this alias line?
> 
> 3) I run mvn clean package from $cas_home.  Was this right?  If not, where 
> should I run mvn from?  
> 
> Any insight would be greatly appreciated!!!
> 
> Thanks!
> 
> -Jonas Steinberg
> -- 
> You are currently subscribed to cas-user@lists.jasig.org as: 
> mepst...@illinois.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