[cas-user] Question: what is the maven dependency difference from [CAS 5.2.0-RC3] to [RC2 or below]?

2017-09-14 Thread Andy Ng
Hi all, Today when I try upgrading from CAS 5.2.0-RC2 to RC3, I was faced with lots of symbols not found error in my custom Java code during the compilation stage. So I go ahead and download a fresh CAS War Maven Overlay 5.2.x (branch) to test out the problem. _

Re: [cas-user] cas-gradle-verlay-template not building suddenly.

2017-09-14 Thread Misagh Moayyed
Switch to 5.1.4. > From: "Toby Archer" > To: "CAS Community" > Sent: Thursday, September 14, 2017 2:27:43 PM > Subject: [cas-user] cas-gradle-verlay-template not building suddenly. > I have a cas setup that I've been using on and off for a few, inter mixed with > other projects I'm working on.

[cas-user] cas-gradle-verlay-template not building suddenly.

2017-09-14 Thread Toby Archer
I have a cas setup that I've been using on and off for a few, inter mixed with other projects I'm working on. I cam back to it today and it wasn't working. I try to start the server and it breaks giving the error: 2017-09-14 21:20:30,470 ERROR [org.springframework.boot.SpringApplication] - jav

[cas-user] CAS 5.2.0 RC3 Release Announcement

2017-09-14 Thread Misagh Moayyed
CAS 5.2.0 RC3 is released: https://github.com/apereo/cas/releases/tag/v5.2.0-RC3 -- --Misagh -- - 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 messa

[cas-user] Secure endpoints with LDAP - getting "You are not authorized to be authorized" error

2017-09-14 Thread Doug C
I am taking baby steps through different authentication methods to get where I think I want to be. I am currently stuck trying to figure out how to authenticate access to the /cas/status endpoints using LDAP (Active Directory). I have CAS authentication working using LDAP but I want to use LD

[cas-user] CAS 5 log4j2 org.apereo.cas.logging via TCP stops transmitting logs after a period of time

2017-09-14 Thread Maxwell, Gary
We are having issues when sending the CAS inspektr audit records to Graylog. We have configured log4j2 to use the TCP protocol for sending the logging transactions to Graylog running on a remote server. The log records are initially sent and received correctly however the log records stop trans

[cas-user] Re: Securing Endpoints With Spring Security

2017-09-14 Thread Doug C
I got it working and I am not really sure why it wasn't working. This is what I finally ended up doing. Added the following dependency to pom.xml (I thought I had done this but maybe I hadn't): org.apereo.cas cas-server-webapp-config-security ${cas.

[cas-user] CAS 5.1.4 Release Announcement

2017-09-14 Thread Misagh Moayyed
CAS 5.1.4 is released: https://github.com/apereo/cas/releases/tag/v5.1.4 -- - 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 subs

Re: [cas-user] Re: CAS 5.0.8 + Active Directory - Note receiving user information

2017-09-14 Thread Micas Camela
Hi dhawes, I did that and now I am getting the attributes. I assume my problems are all solved. Thank you all Best regards On Thursday, September 14, 2017 at 3:58:30 PM UTC+2, dhawes wrote: > > Have you tried using the /samlValidate endpoint with "CASValidateSaml On"? > > /serviceValidate may

Re: [cas-user] Re: CAS 5.0.8 + Active Directory - Note receiving user information

2017-09-14 Thread David Hawes
Have you tried using the /samlValidate endpoint with "CASValidateSaml On"? /serviceValidate may or may not return attributes, depending on your CAS server. If it does, you can use mod_auth_cas from git master, which supports CASv2 attributes. On 14 September 2017 at 09:11, Micas Camela wrote: >

[cas-user] cas/p3/login ?

2017-09-14 Thread atilling
I'm configuring an application that was designed to work with version 2 protocol but with the modification to release attributes. The application has one location to add the cas context path if I set the path to /cas the application logs in fine but can't get the attributes, if I set the path t

[cas-user] Re: Attributes not released

2017-09-14 Thread Priit Serk
Got it working by defining my own EchoingPrincipalResolver and registering it. Documentation ... On Thursday, September 14, 2017 at 10:45:50 AM UTC+3, Priit Serk wrote: > > CAS 5 > > Handler: > > @Override > protected HandlerResult doAuthentication(Credential credential) throws > GeneralSecurit

[cas-user] Re: Attributes not released

2017-09-14 Thread Priit Serk
Further debugging: PersonDirectoryPrincipalResolver.java public Principal resolve(Credential credential, Principal currentPrincipal, AuthenticationHandler handler) { And now this code gets really confusing: Principal currentPrincipal nicely holds all the attributes that I previously setted

[cas-user] Big question about CAS .net client (On CAS5.1)

2017-09-14 Thread zl anson
Hello guys I met a big trouble when I using the CAS 5.1 on my project. This is how to retrieve multi property of user from CAS .NET side. Actually We used CAS5.1 , and test JAVA client, when we modify the config, and filter on JAVA, the java client can get other propertys

Re: [cas-user] Re: CAS 5.0.8 + Active Directory - Note receiving user information

2017-09-14 Thread Micas Camela
Hi dhawes, This is how I left cas.conf content: LoadModule auth_cas_module modules/mod_auth_cas.so AuthType CAS CASAuthNHeader On #Require all granted Require valid-user CASLoginUrl https://casdev.gas.local:8443/cas/login CASValidateUrl

Re: [cas-user] Attribute Resolver with SPNEGO

2017-09-14 Thread benoit plessis
Hi, Do you mean a way to get extra attribute from another source ? If so i'm struggling with that part also, did you manage to get attribute from "basic" ldap auth ? 2017-05-09 8:01 GMT+02:00 RJ : > Any clue about how to configure a default resolver with SPNEGO ? Thx > > -- > - CAS gitter chatr

[cas-user] Attributes not released

2017-09-14 Thread Priit Serk
CAS 5 Handler: @Override protected HandlerResult doAuthentication(Credential credential) throws GeneralSecurityException, PreventedException { final Map attributeMap = fillAttributes((UsernamePasswordCredential) credential); attributeMap.put("name", "Test attribute value"); fina

[cas-user] TicketGrantingTicket is NULL

2017-09-14 Thread Priit Serk
OAuth20UserProfileControllerController: public ResponseEntity handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { AccessToken accessTokenTicket = (AccessToken)this.ticketRegistry.getTicket(accessToken, AccessToken.class); if(accessTokenTicket != n