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 authentication result builder can be 
located in the context
at org.apereo.cas.web.flow.resolver.impl.
InitialAuthenticationAttemptWebflowEventResolver.resolveInternal(
InitialAuthenticationAttemptWebflowEventResolver.java:71) ~[cas-server-core-
webflow-5.0.0.RC1.jar:5.0.0.RC1]
at org.apereo.cas.web.flow.resolver.impl.AbstractCasWebflowEventResolver
.resolve(AbstractCasWebflowEventResolver.java:427) ~[cas-server-core-webflow
-5.0.0.RC1.jar:5.0.0.RC1]



Do I have to change the var name ? What do you suggest ?

Thank you.

10 Kasım 2016 Perşembe 12:33:00 UTC+3 tarihinde john c yazdı:
>
> 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-support-yubikey
>
>
> 在 2016年9月20日星期二 UTC+8下午10:08:53,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,
>>>
>>> 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/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 
 Subject:  [cas-user] Custom Authentication Handler in version 5.0.0 

 Hi,

 Let's say I have a custom AbcAuthencticationHandler and AbcCredentials. 
 How can i configure this custom auhtentication handler ? In previous 
 versions this can be handled in deployerConfigContext.xml, but how it is 
 done in version 5.0.0 ?

 Thanks.
 --
 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+u...@apereo.org.
 To post to this group, send email to cas-...@apereo.org.
 Visit this group at 
 https://groups.google.com/a/apereo.org/group/cas-user/.
 To view this discussion on the web visit 
 https://groups.google.com/a/apereo.org/d/msgid/cas-user/0a0ba25b-2dff-4cae-aa1b-a639cd629bc9%40apereo.org
  
 
 .
 For more options, visit https://groups.google.com/a/apereo.org/d/optout
 .

 -- 
>>> 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+u...@apereo.org.
>>> To post to this group, send email to cas-...@apereo.org.
>>> Visit this group at 
>>> https://groups.google.com/a/apereo.org/group/cas-user/.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/9a92aede-f879-4387-ad16-cdecbfffbd8b%40apereo.org
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>>
>>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/aad1c5cc-1652-4fdf-bcb4-9e0a971b04ec%40googlegroups.com.


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,
>
> 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/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 
>> Subject:  [cas-user] Custom Authentication Handler in version 5.0.0 
>>
>> Hi,
>>
>> Let's say I have a custom AbcAuthencticationHandler and AbcCredentials. 
>> How can i configure this custom auhtentication handler ? In previous 
>> versions this can be handled in deployerConfigContext.xml, but how it is 
>> done in version 5.0.0 ?
>>
>> Thanks.
>> --
>> 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+u...@apereo.org.
>> To post to this group, send email to cas-...@apereo.org.
>> Visit this group at 
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/0a0ba25b-2dff-4cae-aa1b-a639cd629bc9%40apereo.org
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>> -- 
> 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 post to this group, send email to cas-user@apereo.org.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/9a92aede-f879-4387-ad16-cdecbfffbd8b%40apereo.org
>  
> 
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9ea9d34f-26ca-490b-919a-0f6c583faa61%40googlegroups.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


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 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/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  
> Subject: [cas-user] Custom Authentication Handler in version 5.0.0
>
>> Hi,
>>
>> Let's say I have a custom AbcAuthencticationHandler and
>> AbcCredentials. How can i configure this custom auhtentication
>> handler ? In previous versions this can be handled in
>> deployerConfigContext.xml, but how it is done in version 5.0.0 ?
>>
>> Thanks.
>> --
>> 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+u...@apereo.org .
>> To post to this group, send email to cas-...@apereo.org
>> .
>> Visit this group at
>> https://groups.google.com/a/apereo.org/group/cas-user/
>> .
>> To view this discussion on the web visit
>> 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/0a0ba25b-2dff-4cae-aa1b-a639cd629bc9%40apereo.org
>> 
>> .
>> For more options, visit
>> https://groups.google.com/a/apereo.org/d/optout
>> .
>
> -- 
> 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 post to this group, send email to cas-user@apereo.org
> .
> Visit this group at
> https://groups.google.com/a/apereo.org/group/cas-user/.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/9a92aede-f879-4387-ad16-cdecbfffbd8b%40apereo.org
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.

-- 
Philippe MARASSE

Responsable pôle Infrastructures - DSIO
Centre Hospitalier Henri Laborit
CS 10587 - 370 avenue Jacques Cœur 
86021 Poitiers Cedex
Tel : 05.49.44.57.19

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9d7cf48b-dd9e-0864-e8f0-4e595c2940ea%40ch-poitiers.fr.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


smime.p7s
Description: Signature cryptographique S/MIME


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 
Subject:  [cas-user] Custom Authentication Handler in version 5.0.0  

Hi,

Let's say I have a custom AbcAuthencticationHandler and AbcCredentials. How can 
i configure this custom auhtentication handler ? In previous versions this can 
be handled in deployerConfigContext.xml, but how it is done in version 5.0.0 ?

Thanks.
--
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/0a0ba25b-2dff-4cae-aa1b-a639cd629bc9%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

-- 
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 post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57d12c80.60656735.13888%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.