Re: [cas-user] CAS - Form Based Login

2019-11-20 Thread Steve Cheung
tc > options you see on a variety of sites. > > On 11/20/19 3:10 AM, Steve Cheung wrote: > > Hi all, > > I search around the Java-Cas-Client readme and it said CAS supporting > JAAS. However, I really cant find much detail on how to configure it on my > web applicat

[cas-user] CAS - Form Based Login

2019-11-20 Thread Steve Cheung
Hi all, I search around the Java-Cas-Client readme and it said CAS supporting JAAS. However, I really cant find much detail on how to configure it on my web application. https://github.com/apereo/java-cas-client/blob/master/README.md I wanna keep the form based login in my web app and using

[cas-user] JAAS CAS Server & Client Sample

2019-11-18 Thread Steve Cheung
Hi all, I would like to using the JAAS to integrate the Java Web application to CAS server. So the middleware such as tomcat is able to authenticated with server directly without too much code change on the client application. http://java.sun.com/dtd/web-app_2_3.dtd"; > <*web-app*> <*disp

Re: [cas-user] Re: CAS 6.0.3 ignores header and footer in my theme

2019-11-11 Thread Steve Cheung
Hi Maksim, I want to do the same thing here to custom a login form. May I know which url you follow to do? Thanks, Steve On Tue, Nov 12, 2019 at 7:17 AM 'Maksim Kopeyka' via CAS Community < cas-user@apereo.org> wrote: > My bad, I didn't set theme prefix for this line in casLoginView.html: > ht

[cas-user] CAS Client Compilation Error

2019-11-11 Thread Steve Cheung
Hi all, I am using the JDK 11 to build the package but encounter this compilation error. The code is from https://github.com/apereo/java-cas-client. Do anyone has idea about how to solve it? Many thanks. Regards, Steve [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plu

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-10 Thread Steve Cheung
Hi mohamed, Please try this whether can help to solve your problem. 1. Enable the service registry module in CAS /etc/cas/config/cas.properties cas.serviceRegistry.initFromJson=false cas.serviceRegistry.json.location:file:/etc/cas/services 2. Place the enabled services file under /etc/cas/servic

Re: [cas-user] Re: No principal was found in the response from the CAS server.

2019-11-07 Thread Steve Cheung
Hi Andy, it works now, thanks. On Fri, Nov 8, 2019 at 11:46 AM Andy Ng wrote: > Hi Steve, > > See if disabling `mfa-duo` this helps: > https://github.com/cas-projects/cas-sample-java-webapp/issues/14 > > Cheers! > - Andy > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https

[cas-user] No principal was found in the response from the CAS server.

2019-11-07 Thread Steve Cheung
Hi all, I had setup a cas server cas-overaly-template 6.2.x and a client app ( https://github.com/cas-projects/cas-sample-java-webapp) on my local environment Once I successfully login to my cas server using the client app, it prompts http error 500 (No principal was found in the response from

Re: [cas-user] Sample Java Web Application to test the login

2019-11-06 Thread Steve Cheung
Hi andy, thx I hv tried the sample java web app . It seems not very details for my poc. Btw, many thx for suggestion. Will look into the other links as well. Thx, steve Sent from my iPhone > On 6 Nov 2019, at 16:33, Andy Ng wrote: > >  > Hi Steve, > > > build sample java web app on tomca

Re: [cas-user] Sample Java Web Application to test the login

2019-11-06 Thread Steve Cheung
Hi Andy, I suggest to build sample java web app on tomcat to test login function via CAS. i am looking for a typical Java EE security web application. On Wed, Nov 6, 2019 at 3:47 PM Andy Ng wrote: > Hi Steve, > > What language of sample web app are you talking about, PHP? Java? Others? > > As

[cas-user] Sample Java Web Application to test the login

2019-11-05 Thread Steve Cheung
Hi all, I have setup and run a overlay cas war 6.2.0 in my local environment with simple configuration. The next step I would like to setup a sample web app to do the login via the cas server. May I know where get more sample code from the web and more instruction about it? Many thanks. R