Re: [cas-user] Custom Authentication Handler

2022-10-20 Thread Ray Bon
Marco, Add to build.gradle: compileOnly "org.apereo.cas:cas-server-core-authentication-api Ray On Thu, 2022-10-20 at 08:18 -0700, Marco Pagnanelli wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.

Re: [cas-user] Custom Authentication

2018-02-06 Thread Andy Ng
Good to hear that you make it working! -- - 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 Co

Re: [cas-user] Custom Authentication

2018-02-06 Thread Man H
Glad to hear that! El martes, 6 de febrero de 2018, Ramakrishna G escribió: > Thankyou so much Man H. Your efforts are highly appreciated. Finally > after debugging found the issue and it started working. > > On Mon, Feb 5, 2018 at 8:40 PM, Man H wrote: > >> Your log is ok there is no error the

Re: [cas-user] Custom Authentication

2018-02-06 Thread Ramakrishna G
Thankyou so much Man H. Your efforts are highly appreciated. Finally after debugging found the issue and it started working. On Mon, Feb 5, 2018 at 8:40 PM, Man H wrote: > Your log is ok there is no error the stop message is a warning! > Now try to debug your handler > > > > El lunes, 5 de febre

Re: [cas-user] Custom Authentication

2018-02-05 Thread Ramakrishna G
Hi Man H, I am using LOGGER inside MyAuthenticationEventExecutionPlanConfiguration. private static final Logger LOGGER = LoggerFactory.getLogger(MyAuthenticationEventExecutionPlanConfiguration. class); @Override public void configureAuthenticationExecutionPlan(final AuthenticationEventExec

Re: [cas-user] Custom Authentication

2018-02-05 Thread Man H
Your log is ok there is no error the stop message is a warning! Now try to debug your handler El lunes, 5 de febrero de 2018, Ramakrishna G escribió: > Hi Man H, > > I am not able to see my logs in cas.log. I have a doubt whether it is > registered or not. > > > I can see compiled source of > >

Re: [cas-user] Custom Authentication

2018-02-05 Thread Man H
Enable debug logging, in startup log see if handler gets registered Check bean annotation on handler El lunes, 5 de febrero de 2018, Ramakrishna G escribió: > When I try to login user is not authenticated. > > It displays the below error. > > 2018-02-05 11:23:31,822 WARN [org.apereo.cas.authenti

Re: [cas-user] Custom Authentication

2018-02-02 Thread Man H
Replace final FileAuthenticationHandler h = new FileAuthenticationHandler(fileProperties.getName(), servicesManager, filePrincipalFactory(), fileProperties.getFilename(), fileProperties.getSeparator()); by final MyAuthenticationHandler h = new MyAuthenticationHa

Re: [cas-user] Custom Authentication

2018-02-02 Thread Ramakrishna G
I don't have JDBC connection. I need to connect to custom server for validation. I was just trying FileAuthenticationHandler. When I run mvn clean package it shows " package org.apereo.cas.adaptors.generic does not exist " How do I compile these java files? Cas Version no: 5.2.1 Project : Ca

Re: [cas-user] Custom Authentication

2018-01-31 Thread Man H
Please see this link maybe ir can help: https://groups.google.com/a/apereo.org/d/msgid/cas-user/56A68D83-B246-4917-9274-A1BE860FC5AA%40gmail.com El miércoles, 31 de enero de 2018, Ramakrishna G escribió: > I am using CAS Version 5.2.1 > > I need to implement Custom Authenticaction Handler and I

Re: [cas-user] Custom authentication handler in CAS 5.1.1

2017-08-29 Thread Aaron Burton
OK. Bad on me. I was using an old project that apparently has problems. Once I switched back to the current project all was well. Thank you. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: ht

Re: [cas-user] Custom authentication handler in CAS 5.1.1

2017-08-29 Thread Aaron Burton
My class that implements AuthenticationEventExecutionPlanConfigurer does not appear to be loading anymore. On Tuesday, August 29, 2017 at 4:07:55 PM UTC-5, Misagh Moayyed wrote: > > > > -- > > > I had this working at one time but I broke it. Generally I following th

Re: [cas-user] Custom authentication handler in CAS 5.1.1

2017-08-29 Thread Misagh Moayyed
> I had this working at one time but I broke it. Generally I following the > directions from this page. > https://apereo.github.io/cas/5.1.x/installation/Configuring-Custom-Authentication.html > It appears that my configuration class > MyAuthenticationEventExecutionPlanConfiguration is not loadin

Re: [cas-user] Custom Authentication Handler in version 5.0.0

2016-11-15 Thread Gokhan Mansuroglu
When I declare it as below, CAS still use its UsernamePasswordCredential. I could use MyUsernamePasswordCredential only if I change the var name in the login-webflow and loginform as below : However this lead me to another problems like : java.lang.IllegalArgumentException: No authentica

Re: [cas-user] Custom Authentication Handler in version 5.0.0

2016-11-10 Thread john c
1. declare MyUsernamePasswordCredential in your webflow.xml 2. support MyUsernamePasswordCredential in your authentication handler 3. you need a configer class to reg your handler into cas, load configer info etc... take a look : https://github.com/apereo/cas/tree/v5.0.0/support/cas-server-supp

Re: [cas-user] Custom Authentication Handler in version 5.0.0

2016-09-20 Thread Gokhan Mansuroglu
I have a problem with this configuration. I have a MyUsernamePasswordCredential that extends UsernamePasswordCredential, but unfortunately I can't bind this model in the flow. How is that possible ? Thank you. 9 Eylül 2016 Cuma 15:18:03 UTC+3 tarihinde Gokhan Mansuroglu yazdı: > > Hi Misagh, >

Re: [cas-user] Custom Authentication Handler in version 5.0.0

2016-09-12 Thread Philippe MARASSE
+1 I need to add a step in login webflow, how to add custom configuration properties to a Configurer class ? via a custom @EnableConfigurationProperties(MyConfigProperties.class) ? Regards. Le 09/09/2016 à 14:18, Gokhan Mansuroglu a écrit : > Hi Misagh, > > Thank you for your link, I am trying t

Re: [cas-user] Custom Authentication Handler in version 5.0.0

2016-09-09 Thread Gokhan Mansuroglu
Hi Misagh, Thank you for your link, I am trying to figure it out. However there is definetely a need for a step by step guide. 8 Eylül 2016 Perşembe 12:17:03 UTC+3 tarihinde Misagh Moayyed yazdı: > > Example: > https://github.com/apereo/cas/blob/master/cas-server-support-digest-authentication/s

Re: [cas-user] Custom Authentication Handler in version 5.0.0

2016-09-08 Thread Misagh Moayyed
Example: https://github.com/apereo/cas/blob/master/cas-server-support-digest-authentication/src/main/java/org/apereo/cas/digest/config/DigestAuthenticationConfiguration.java#L128 --  Misagh From: Gokhan Mansuroglu Reply: Gokhan Mansuroglu Date: September 8, 2016 at 1:17:32 PM To: CAS Community