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 <[email protected]>
>>> Reply: Gokhan Mansuroglu <[email protected]>
>>> Date: September 8, 2016 at 1:17:32 PM
>>> To: CAS Community <[email protected]>
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> 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
>>>  
>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/0a0ba25b-2dff-4cae-aa1b-a639cd629bc9%40apereo.org?utm_medium=email&utm_source=footer>
>>> .
>>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] <javascript:>.
>> 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
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/9a92aede-f879-4387-ad16-cdecbfffbd8b%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3a4b183b-630e-4b5f-a198-d91a005cd2b2%40googlegroups.com.

Reply via email to