RE: [cas-user] Re: 5.3.2 cas.css logo class causes IE to render default login page incorrectly on IE

2018-09-14 Thread Doug Campbell
Thanks Jeff!  That was exactly the information I needed and helps me to 
understand how things work better.  Much appreciated.

 

Doug

 

From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Jeff Sittler
Sent: Friday, September 14, 2018 5:13 PM
To: CAS Community 
Subject: [cas-user] Re: 5.3.2 cas.css logo class causes IE to render default 
login page incorrectly on IE

 

Hi Doug,

 

The cas.css file is generated at build time from the cas.scss file located 
here: 
https://github.com/apereo/cas/blob/5.3.x/webapp/resources/static/sass/cas.scss

 

Feel free to submit a pull request to fix the IE 11 issue you fixed.

 

As for modifying the cas.css file itself, you can download it in the browser 
and place it in your resources/static/css folder and then make changes as you 
see fit.  However, that could potentially introduce breaking changes on your 
site if the core CAS HTML/CSS changes.

 

-Jeff

On Thursday, September 13, 2018 at 1:22:42 PM UTC-7, Doug C wrote:

After a little more research I found that the version of cas.css being used by 
default is being provided by the cas-server-webapp-tomcat.war file from the 
Maven repository.  I don't really understand what code base this .war file is 
generated from since the github repo doesn't have this cas.css file or the 
directory structure for it (although in earlier versions of CAS it did exist).

 

So at the moment I can fix the apereo theme cas.css but not the 
cas-theme-default cas.css so that these pages display properly in IE 11.

 

Again, if anyone has an idea on where the cas-theme-default cas.css can be 
modified in a repo I can also submit a change for that.

 

Thanks!



On Tuesday, September 11, 2018 at 7:00:56 PM UTC-4, Doug C wrote:

I found that the header for the login page when I updated to 5.3.2 is too large 
and overlaps some of the other page elements when I use Internet Explorer 11.  
This does not occur in Chrome.  I poked around and found that if I change the 
cas.css file so that the logo class has a height property of 40px then IE 11 
will render like Chrome.

 

While I know how to make the change in the CAS overlay I would like to submit a 
pull request but the cas.css file in question does not appear to exist in the 
github repo.  I am expecting it to be at 
https://github.com/apereo/cas/tree/master/webapp/resources/static/css/cas.css 
but I can only find a file at 
https://github.com/apereo/cas/blob/master/webapp/resources/static/themes/apereo/css/cas.css.
  The latter file is not the same as what appears in my target overlay when I 
don't make changes to the overlay src.

 

I think the change to using an SVG image for the logo caused this issue to come 
up but I don't know enough to know whether there is a better way to address the 
issue than just adding the height property.

 

If anyone can point me in the right direction as to what file to edit though I 
will submit a pull request.

 

Thanks!

 

Doug

-- 
- 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/1be4bab4-b50d-406d-b22f-06028520a32a%40apereo.org
 

 .

-- 
- 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/003801d44cb6%248784e760%24968eb620%24%40gmail.com.


Re: [cas-user] Re: custom header/footer values from properties.

2018-09-14 Thread Curtis Ruck
Great.  Thanks!

--
Curtis Ruck


On Fri, Sep 14, 2018 at 5:17 PM Jeff Sittler  wrote:

> Hi Curtis,
>
> I am working on the CAS documentation and that is one area that I am
> hoping to address and expand upon.
>
> Try using something like this:
>  th:text="${@environment.getProperty('your.property.key.reference.goes.here')}"
> th:remove="tag" />
>
> -Jeff
>
> On Wednesday, September 12, 2018 at 12:17:01 PM UTC-7, Curtis Ruck wrote:
>>
>> I need to add some static data wired from cas.properties into my theme's
>> header.html/footer.html.  It seems thymeleaf is the new templating language
>> and I can't find a tutorial or example on how to wire items from a
>> CustomConfigurationProperties class into the templates.  Any suggestions
>> for reading materials or examples?
>>
> --
> - 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/8c126c31-f595-4b17-aa3e-f8f001932468%40apereo.org
> 
> .
>

-- 
- 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/CAFgGLFdXOBet9n7mT%2BzZkxyTfU%2BmofFrzi5YXMAE5PhRFiR1gg%40mail.gmail.com.


[cas-user] How to add various users to make conection with database in CAS v5.1.5

2018-09-14 Thread Diego Andres carvajal Ruiz
Hi everyone, I've CAS v5.1.5 in Wildfly 10. Actually I have only 1 node of 
CAS, but I want to create more nodes with differents users to connect to 
the database but I don't know how to do it. It's possible in the 
cas.properties file add the follow lines and will it work?:

cas.authn.jdbc.query[0].sql=SELECT **
cas.authn.jdbc.query[0].driverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
cas.authn.jdbc.query[0].url=jdbc:sqlserver://ip:port ;databaseName=***
cas.authn.jdbc.query[0].user=user
cas.authn.jdbc.query[0].password=user_passwd

cas.authn.jdbc.query[1].sql=SELECT **
cas.authn.jdbc.query[1].driverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
cas.authn.jdbc.query[1].url=jdbc:sqlserver://ip:port ;databaseName=***
cas.authn.jdbc.query[1].user=user1
cas.authn.jdbc.query[1].password=user1_passwd

cas.authn.jdbc.query[2].sql=SELECT **
cas.authn.jdbc.query[2].driverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
cas.authn.jdbc.query[2].url=jdbc:sqlserver://ip:port ;databaseName=***
cas.authn.jdbc.query[2].user=user2
cas.authn.jdbc.query[2].password=user2_passwd

Or can you give me your opinions about mi topic.

Thanks!




-- 
- 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/7db02b11-9b97-4621-9eb2-896c39675031%40apereo.org.


[cas-user] Re: custom header/footer values from properties.

2018-09-14 Thread Jeff Sittler
Hi Curtis,

I am working on the CAS documentation and that is one area that I am hoping 
to address and expand upon.

Try using something like this:


-Jeff

On Wednesday, September 12, 2018 at 12:17:01 PM UTC-7, Curtis Ruck wrote:
>
> I need to add some static data wired from cas.properties into my theme's 
> header.html/footer.html.  It seems thymeleaf is the new templating language 
> and I can't find a tutorial or example on how to wire items from a 
> CustomConfigurationProperties class into the templates.  Any suggestions 
> for reading materials or examples?
>

-- 
- 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/8c126c31-f595-4b17-aa3e-f8f001932468%40apereo.org.


[cas-user] Re: 5.3.2 cas.css logo class causes IE to render default login page incorrectly on IE

2018-09-14 Thread Jeff Sittler
Hi Doug,

The cas.css file is generated at build time from the cas.scss file located 
here: 
https://github.com/apereo/cas/blob/5.3.x/webapp/resources/static/sass/cas.scss

Feel free to submit a pull request to fix the IE 11 issue you fixed.

As for modifying the cas.css file itself, you can download it in the 
browser and place it in your resources/static/css folder and then make 
changes as you see fit.  However, that could potentially introduce breaking 
changes on your site if the core CAS HTML/CSS changes.

-Jeff

On Thursday, September 13, 2018 at 1:22:42 PM UTC-7, Doug C wrote:
>
> After a little more research I found that the version of cas.css being 
> used by default is being provided by the cas-server-webapp-tomcat.war file 
> from the Maven repository.  I don't really understand what code base this 
> .war file is generated from since the github repo doesn't have this 
> cas.css file or the directory structure for it (although in earlier 
> versions of CAS it did exist).
>
> So at the moment I can fix the apereo theme cas.css but not the 
> cas-theme-default cas.css so that these pages display properly in IE 11.
>
> Again, if anyone has an idea on where the cas-theme-default cas.css can be 
> modified in a repo I can also submit a change for that.
>
> Thanks!
>
>
> On Tuesday, September 11, 2018 at 7:00:56 PM UTC-4, Doug C wrote:
>
>> I found that the header for the login page when I updated to 5.3.2 is too 
>> large and overlaps some of the other page elements when I use Internet 
>> Explorer 11.  This does not occur in Chrome.  I poked around and found that 
>> if I change the cas.css file so that the logo class has a height property 
>> of 40px then IE 11 will render like Chrome.
>>
>> While I know how to make the change in the CAS overlay I would like to 
>> submit a pull request but the cas.css file in question does not appear to 
>> exist in the github repo.  I am expecting it to be at 
>> https://github.com/apereo/cas/tree/master/webapp/resources/static/css/cas.css
>>  
>> but I can only find a file at 
>> https://github.com/apereo/cas/blob/master/webapp/resources/static/themes/apereo/css/cas.css.
>>   
>> The latter file is not the same as what appears in my target overlay when I 
>> don't make changes to the overlay src.
>>
>> I think the change to using an SVG image for the logo caused this issue 
>> to come up but I don't know enough to know whether there is a better way to 
>> address the issue than just adding the height property.
>>
>> If anyone can point me in the right direction as to what file to edit 
>> though I will submit a pull request.
>>
>> Thanks!
>>
>> Doug
>>
>

-- 
- 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/1be4bab4-b50d-406d-b22f-06028520a32a%40apereo.org.


Re: [cas-user] CAS build stuck

2018-09-14 Thread Zach Tackett
That did it for me! Thank you so much. The login page came up, now I just 
have to figure out how to get it to work with ADFS so that it will redirect 
to the college login page.

On Friday, September 14, 2018 at 2:49:41 PM UTC-4, Matthew Uribe wrote:
>
> Have you had a chance to look through David Curry's guide? It's thorough 
> and well laid out, and should get you on the road to successfully setting 
> up CAS.
>
>
> https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html
>
>
> [image: Aims Community College Top Work Places 2018 - The Denver Post] 
> Matt Uribe
> Programmer Analyst II
> Information Technology
> Aims Community College
> 970.339.6375
> matthe...@aims.edu 
> 5401 W. 20th Street 
> 
> Greeley, CO, 80634 
> 
> www.aims.edu
> 
>
>
> *IT staff will never ask you for your username and password. *
>
>
> *Always decline to provide the information and report such attempts to the 
> Help Desk (x6380).*
>
>
> On Fri, Sep 14, 2018 at 12:35 PM, Zach Tackett  > wrote:
>
>> I am completely new to CAS, server side management. New job, boss asked 
>> me to setup CAS on a CentOS 7 server
>>
>> Installed Java8, tomcat, cloned down the cas-overlay-template (maven)
>>
>> I am getting stuck at this point. I have went back into the logs and set 
>> the values it is issuing warnings on, and it still comes up with the 
>> warnings for the signing and encryption keys. All of the documentation I 
>> have been able to find and understand is old, or useless
>>
>> [INFO] Scanning for projects...
>> [INFO] 
>> [INFO] Using the MultiThreadedBuilder implementation with a thread count 
>> of 5
>> [INFO] 
>> [INFO] 
>> 
>> [INFO] Building cas-overlay 1.0
>> [INFO] 
>> 
>> [INFO] 
>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cas-overlay ---
>> [INFO] Deleting /home/entapps/cas-overlay-template/target
>> [INFO] 
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
>> cas-overlay ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory 
>> /home/entapps/cas-overlay-template/src/main/resources
>> [INFO] 
>> [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ 
>> cas-overlay ---
>> [INFO] No sources to compile
>> [INFO] 
>> [INFO] --- maven-resources-plugin:2.6:testResources 
>> (default-testResources) @ cas-overlay ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory 
>> /home/entapps/cas-overlay-template/src/test/resources
>> [INFO] 
>> [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ 
>> cas-overlay ---
>> [INFO] No sources to compile
>> [INFO] 
>> [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ cas-overlay 
>> ---
>> [INFO] No tests to run.
>> [INFO] 
>> [INFO] --- maven-war-plugin:2.6:war (default-war) @ cas-overlay ---
>> [INFO] Packaging webapp
>> [INFO] Assembling webapp [cas-overlay] in 
>> [/home/entapps/cas-overlay-template/target/cas]
>> [info] Copying manifest...
>> [INFO] Processing war project
>> [INFO] Processing overlay [ id org.apereo.cas:cas-server-webapp-tomcat]
>> [INFO] Webapp assembled in [1278 msecs]
>> [INFO] Building war: /home/entapps/cas-overlay-template/target/cas.war
>> [INFO] 
>> [INFO] --- spring-boot-maven-plugin:1.5.12.RELEASE:repackage (default) @ 
>> cas-overlay ---
>> [INFO] Layout: WAR
>> [INFO] 
>> 
>> [INFO] BUILD SUCCESS
>> [INFO] 
>> 
>> [INFO] Total time: 7.112 s (Wall Clock)
>> [INFO] Finished at: 2018-09-14T14:28:55-04:00
>> [INFO] Final Memory: 13M/39M
>> [INFO] 
>> 
>>
>>__     _     __  
>>   / /  / ___|/ \/ ___|  \ \ 
>>  | |  | |   / _ \   \___ \   | |
>>  | |  | |___   / ___ \   ___) |  | |
>>  | |   \| /_/   \_\ |/   | |
>>   \_\   /_/ 
>>
>> CAS Version: 5.2.6
>> CAS Commit Id: f5118fffa39b90da780500631d1dffcc296bbc08
>> CAS Build Date/Time: 2018-09-14T18:28:54Z
>> Spring Boot Version: 1.5.12.RELEASE
>> 
>> Java Home: 
>> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/jre
>> Java Vendor: Oracle Corporation
>> Java Version: 1.8.0_181
>> JVM Free Memory: 7 MB
>> JVM Maximum Memory: 444 MB
>> JVM Total Memory: 39 MB
>> JCE Installed: Yes
>> 
>> OS Architecture: amd64
>> OS Name: Linux
>> OS Version: 3.10.0-862.11.6.el7.x86_64

Re: [cas-user] Re: encryption and signing key generation

2018-09-14 Thread Curtis Ruck
typo in the key name.  It worked perfectly for me once i generated the
value with openssl instead of jwk-gen.jar

--
Curtis Ruck


On Fri, Sep 14, 2018 at 2:47 PM Zach Tackett  wrote:

> I tried this and it still says
>
>  [cas.webflow.crypto.encryption.key]. CAS will attempt to auto-generate the
> encryption key>
>  generated key MUST be added to CAS settings under setting
> [cas.webflow.crypto.encryption.key].>
>
> Any hint as to why?
>
> On Thursday, September 13, 2018 at 10:03:02 AM UTC-4, William E. wrote:
>>
>> +1
>>
>> I ended up grabbing values from the cas startup logs and setting in my
>> cas.properties.  Seems to work.
>>
>>
>> On Wednesday, September 12, 2018 at 3:34:32 PM UTC-5, Curtis Ruck wrote:
>>>
>>> So i'm trying to automate the generation and persistence of the
>>> cas.tgc.crypto and cas.webflow.crypto encryption and signing keys.
>>>
>>> I'm using the jwk-gen.jar, and when i store the key in cas.properties,
>>> i end up with "Invalid AES key length: 43 bytes" when trying to access the
>>> login page.
>>>
>>>
>>> If I let CAS generate a key, its the same exact string length (43
>>> bytes). What is different between my key versus cas's generated keys? Then
>>> i'm extracting the k value from the json, and inserting it into my
>>> cas.properties.
>>>
>>> java -jar jwk-gen.jar -t oct 256 -o tgc-enc.jwks
>>> java -jar jwk-gen.jar -t oct 512 -o tgc-sig.jwks
>>> java -jar jwk-gen.jar -t oct 256 -o webflow-enc.jwks
>>> java -jar jwk-gen.jar -t oct 512 -o webflow-sig.jwks
>>>
>> --
> - 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/605dd238-e739-4269-bcc7-4e89b1cdee33%40apereo.org
> 
> .
>

-- 
- 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/CAFgGLFfwAEyJP4pqxt%3DSk1sUSw6vrGk4jiMFwcW6w6%2BTevoQgg%40mail.gmail.com.


Re: [cas-user] CAS build stuck

2018-09-14 Thread Matthew Uribe
Have you had a chance to look through David Curry's guide? It's thorough
and well laid out, and should get you on the road to successfully setting
up CAS.

https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html


[image: Aims Community College Top Work Places 2018 - The Denver Post]
Matt Uribe
Programmer Analyst II
Information Technology
Aims Community College
970.339.6375
matthew.ur...@aims.edu
5401 W. 20th Street

Greeley, CO, 80634

www.aims.edu



*IT staff will never ask you for your username and password. *


*Always decline to provide the information and report such attempts to
the Help Desk (x6380).*


On Fri, Sep 14, 2018 at 12:35 PM, Zach Tackett  wrote:

> I am completely new to CAS, server side management. New job, boss asked me
> to setup CAS on a CentOS 7 server
>
> Installed Java8, tomcat, cloned down the cas-overlay-template (maven)
>
> I am getting stuck at this point. I have went back into the logs and set
> the values it is issuing warnings on, and it still comes up with the
> warnings for the signing and encryption keys. All of the documentation I
> have been able to find and understand is old, or useless
>
> [INFO] Scanning for projects...
> [INFO]
> [INFO] Using the MultiThreadedBuilder implementation with a thread count
> of 5
> [INFO]
> [INFO] 
> 
> [INFO] Building cas-overlay 1.0
> [INFO] 
> 
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cas-overlay ---
> [INFO] Deleting /home/entapps/cas-overlay-template/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> cas-overlay ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/entapps/cas-overlay-
> template/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @
> cas-overlay ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ cas-overlay ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/entapps/cas-overlay-
> template/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @
> cas-overlay ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ cas-overlay
> ---
> [INFO] No tests to run.
> [INFO]
> [INFO] --- maven-war-plugin:2.6:war (default-war) @ cas-overlay ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [cas-overlay] in [/home/entapps/cas-overlay-
> template/target/cas]
> [info] Copying manifest...
> [INFO] Processing war project
> [INFO] Processing overlay [ id org.apereo.cas:cas-server-webapp-tomcat]
> [INFO] Webapp assembled in [1278 msecs]
> [INFO] Building war: /home/entapps/cas-overlay-template/target/cas.war
> [INFO]
> [INFO] --- spring-boot-maven-plugin:1.5.12.RELEASE:repackage (default) @
> cas-overlay ---
> [INFO] Layout: WAR
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 7.112 s (Wall Clock)
> [INFO] Finished at: 2018-09-14T14:28:55-04:00
> [INFO] Final Memory: 13M/39M
> [INFO] 
> 
>
>__     _     __
>   / /  / ___|/ \/ ___|  \ \
>  | |  | |   / _ \   \___ \   | |
>  | |  | |___   / ___ \   ___) |  | |
>  | |   \| /_/   \_\ |/   | |
>   \_\   /_/
>
> CAS Version: 5.2.6
> CAS Commit Id: f5118fffa39b90da780500631d1dffcc296bbc08
> CAS Build Date/Time: 2018-09-14T18:28:54Z
> Spring Boot Version: 1.5.12.RELEASE
> 
> Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.
> x86_64/jre
> Java Vendor: Oracle Corporation
> Java Version: 1.8.0_181
> JVM Free Memory: 7 MB
> JVM Maximum Memory: 444 MB
> JVM Total Memory: 39 MB
> JCE Installed: Yes
> 
> OS Architecture: amd64
> OS Name: Linux
> OS Version: 3.10.0-862.11.6.el7.x86_64
> OS Date/Time: 2018-09-14T14:29:07.867
> OS Temp Directory: /tmp
> 
> Apache Tomcat Version: Apache Tomcat/8.5.31
> 
>
>
> 2018-09-14 14:29:08,185 INFO [org.apereo.cas.configuration.config.
> CasCoreBootstrapStandaloneConfiguration] -  [/etc/cas/config] are [[/etc/cas/config/application.yml,
> 

[cas-user] Re: encryption and signing key generation

2018-09-14 Thread Zach Tackett
I tried this and it still says




Any hint as to why?

On Thursday, September 13, 2018 at 10:03:02 AM UTC-4, William E. wrote:
>
> +1
>
> I ended up grabbing values from the cas startup logs and setting in my 
> cas.properties.  Seems to work.
>
>
> On Wednesday, September 12, 2018 at 3:34:32 PM UTC-5, Curtis Ruck wrote:
>>
>> So i'm trying to automate the generation and persistence of the 
>> cas.tgc.crypto and cas.webflow.crypto encryption and signing keys.
>>
>> I'm using the jwk-gen.jar, and when i store the key in cas.properties, i 
>> end up with "Invalid AES key length: 43 bytes" when trying to access the 
>> login page.
>>
>>
>> If I let CAS generate a key, its the same exact string length (43 bytes). 
>> What is different between my key versus cas's generated keys? Then i'm 
>> extracting the k value from the json, and inserting it into my 
>> cas.properties.
>>
>> java -jar jwk-gen.jar -t oct 256 -o tgc-enc.jwks
>> java -jar jwk-gen.jar -t oct 512 -o tgc-sig.jwks
>> java -jar jwk-gen.jar -t oct 256 -o webflow-enc.jwks
>> java -jar jwk-gen.jar -t oct 512 -o webflow-sig.jwks
>>
>

-- 
- 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/605dd238-e739-4269-bcc7-4e89b1cdee33%40apereo.org.


Re: [cas-user] CAS build stuck

2018-09-14 Thread Matthew Uribe
I don't see anything wrong. It shows the build was a success, and that
Tomcat is started. The WARN messages are not errors. It's just telling you
that it made its own keys, and that tickets are being stored in memory.

Are you able to navigate to https://localhost:8443/cas on the host?
(Assuming you are using port 8443).


[image: Aims Community College Top Work Places 2018 - The Denver Post]
Matt Uribe
Programmer Analyst II
Information Technology
Aims Community College
970.339.6375
matthew.ur...@aims.edu
5401 W. 20th Street

Greeley, CO, 80634

www.aims.edu



*IT staff will never ask you for your username and password. *


*Always decline to provide the information and report such attempts to
the Help Desk (x6380).*


On Fri, Sep 14, 2018 at 12:35 PM, Zach Tackett  wrote:

> I am completely new to CAS, server side management. New job, boss asked me
> to setup CAS on a CentOS 7 server
>
> Installed Java8, tomcat, cloned down the cas-overlay-template (maven)
>
> I am getting stuck at this point. I have went back into the logs and set
> the values it is issuing warnings on, and it still comes up with the
> warnings for the signing and encryption keys. All of the documentation I
> have been able to find and understand is old, or useless
>
> [INFO] Scanning for projects...
> [INFO]
> [INFO] Using the MultiThreadedBuilder implementation with a thread count
> of 5
> [INFO]
> [INFO] 
> 
> [INFO] Building cas-overlay 1.0
> [INFO] 
> 
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cas-overlay ---
> [INFO] Deleting /home/entapps/cas-overlay-template/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> cas-overlay ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/entapps/cas-overlay-
> template/src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @
> cas-overlay ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ cas-overlay ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/entapps/cas-overlay-
> template/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @
> cas-overlay ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ cas-overlay
> ---
> [INFO] No tests to run.
> [INFO]
> [INFO] --- maven-war-plugin:2.6:war (default-war) @ cas-overlay ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [cas-overlay] in [/home/entapps/cas-overlay-
> template/target/cas]
> [info] Copying manifest...
> [INFO] Processing war project
> [INFO] Processing overlay [ id org.apereo.cas:cas-server-webapp-tomcat]
> [INFO] Webapp assembled in [1278 msecs]
> [INFO] Building war: /home/entapps/cas-overlay-template/target/cas.war
> [INFO]
> [INFO] --- spring-boot-maven-plugin:1.5.12.RELEASE:repackage (default) @
> cas-overlay ---
> [INFO] Layout: WAR
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 7.112 s (Wall Clock)
> [INFO] Finished at: 2018-09-14T14:28:55-04:00
> [INFO] Final Memory: 13M/39M
> [INFO] 
> 
>
>__     _     __
>   / /  / ___|/ \/ ___|  \ \
>  | |  | |   / _ \   \___ \   | |
>  | |  | |___   / ___ \   ___) |  | |
>  | |   \| /_/   \_\ |/   | |
>   \_\   /_/
>
> CAS Version: 5.2.6
> CAS Commit Id: f5118fffa39b90da780500631d1dffcc296bbc08
> CAS Build Date/Time: 2018-09-14T18:28:54Z
> Spring Boot Version: 1.5.12.RELEASE
> 
> Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.
> x86_64/jre
> Java Vendor: Oracle Corporation
> Java Version: 1.8.0_181
> JVM Free Memory: 7 MB
> JVM Maximum Memory: 444 MB
> JVM Total Memory: 39 MB
> JCE Installed: Yes
> 
> OS Architecture: amd64
> OS Name: Linux
> OS Version: 3.10.0-862.11.6.el7.x86_64
> OS Date/Time: 2018-09-14T14:29:07.867
> OS Temp Directory: /tmp
> 
> Apache Tomcat Version: Apache Tomcat/8.5.31
> 
>
>
> 2018-09-14 14:29:08,185 INFO [org.apereo.cas.configuration.config.
> 

[cas-user] CAS build stuck

2018-09-14 Thread Zach Tackett
I am completely new to CAS, server side management. New job, boss asked me 
to setup CAS on a CentOS 7 server

Installed Java8, tomcat, cloned down the cas-overlay-template (maven)

I am getting stuck at this point. I have went back into the logs and set 
the values it is issuing warnings on, and it still comes up with the 
warnings for the signing and encryption keys. All of the documentation I 
have been able to find and understand is old, or useless

[INFO] Scanning for projects...
[INFO] 
[INFO] Using the MultiThreadedBuilder implementation with a thread count of 
5
[INFO] 
[INFO] 

[INFO] Building cas-overlay 1.0
[INFO] 

[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cas-overlay ---
[INFO] Deleting /home/entapps/cas-overlay-template/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
cas-overlay ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/entapps/cas-overlay-template/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ 
cas-overlay ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) 
@ cas-overlay ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/entapps/cas-overlay-template/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ 
cas-overlay ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ cas-overlay 
---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-war-plugin:2.6:war (default-war) @ cas-overlay ---
[INFO] Packaging webapp
[INFO] Assembling webapp [cas-overlay] in 
[/home/entapps/cas-overlay-template/target/cas]
[info] Copying manifest...
[INFO] Processing war project
[INFO] Processing overlay [ id org.apereo.cas:cas-server-webapp-tomcat]
[INFO] Webapp assembled in [1278 msecs]
[INFO] Building war: /home/entapps/cas-overlay-template/target/cas.war
[INFO] 
[INFO] --- spring-boot-maven-plugin:1.5.12.RELEASE:repackage (default) @ 
cas-overlay ---
[INFO] Layout: WAR
[INFO] 

[INFO] BUILD SUCCESS
[INFO] 

[INFO] Total time: 7.112 s (Wall Clock)
[INFO] Finished at: 2018-09-14T14:28:55-04:00
[INFO] Final Memory: 13M/39M
[INFO] 


   __     _     __  
  / /  / ___|/ \/ ___|  \ \ 
 | |  | |   / _ \   \___ \   | |
 | |  | |___   / ___ \   ___) |  | |
 | |   \| /_/   \_\ |/   | |
  \_\   /_/ 

CAS Version: 5.2.6
CAS Commit Id: f5118fffa39b90da780500631d1dffcc296bbc08
CAS Build Date/Time: 2018-09-14T18:28:54Z
Spring Boot Version: 1.5.12.RELEASE

Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/jre
Java Vendor: Oracle Corporation
Java Version: 1.8.0_181
JVM Free Memory: 7 MB
JVM Maximum Memory: 444 MB
JVM Total Memory: 39 MB
JCE Installed: Yes

OS Architecture: amd64
OS Name: Linux
OS Version: 3.10.0-862.11.6.el7.x86_64
OS Date/Time: 2018-09-14T14:29:07.867
OS Temp Directory: /tmp

Apache Tomcat Version: Apache Tomcat/8.5.31



2018-09-14 14:29:08,185 INFO 
[org.apereo.cas.configuration.config.CasCoreBootstrapStandaloneConfiguration] 
- 
2018-09-14 14:29:08,285 INFO 
[org.apereo.cas.configuration.config.CasCoreBootstrapStandaloneConfiguration] 
- 
2018-09-14 14:29:08,286 INFO 
[org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration]
 
- 
2018-09-14 14:29:17,050 WARN 
[org.apereo.cas.config.CasCoreTicketsConfiguration] - 
2018-09-14 14:30:10,002 WARN 
[org.apereo.cas.config.CasCoreServicesConfiguration] - 
2018-09-14 14:30:11,016 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2018-09-14 14:30:11,031 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2018-09-14 14:30:11,032 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2018-09-14 14:30:11,032 WARN 
[org.apereo.cas.util.cipher.BaseStringCipherExecutor] - 
2018-09-14 14:30:12,166 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2018-09-14 14:30:12,167 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2018-09-14 14:30:12,167 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 
2018-09-14 14:30:12,169 WARN 
[org.apereo.cas.util.cipher.BaseBinaryCipherExecutor] - 

Can someone please point me in the right