Not sure what the WebflowConfigurer is, sorry. If you had a custom Action
though you could probably pass the credentials object to it.
eg/partial guess :
> <evaluate expression="myAction.myMethod(credential)"
> result="credential.username"/>
>
and in case it's helpful to state the obvious, you'd put the following in
an @Configuration class :
@Bean
> public MyAction myAction() {
> return new MyAction();
> }
On 15 May 2017 at 18:16, Adam Causey <[email protected]> wrote:
> Thanks for the response. Any idea how to actually access that credential
> model in Java code within the WebflowConfigurer?
>
> On Mon, May 15, 2017 at 11:56 AM, Ben Howell-Thomas <ben.howell-thomas@
> northgateps.com> wrote:
>
>> I think this from login-webflow.xml already puts them into "credential" :
>>
>> <view-state id="viewLoginForm" view="casLoginView" model="credential">
>>> <binder>
>>> <binding property="username" required="true"/>
>>> <binding property="password" required="true"/>
>>> </binder>
>>
>>
>> On 12 May 2017 at 22:07, Adam Causey <[email protected]> wrote:
>>
>>> Is there a way to get a user's credentials in CAS 5.0.5 when extending
>>> the Webflow? I am using this as an example on extending the flow:
>>> https://apereo.github.io/2016/10/07/webflow-extcfg/ . I need to get the
>>> user's entered credentials in my particular use case, but can't figure out
>>> how to get to them.
>>>
>>> Thanks!
>>>
>>> -Adam
>>>
>>>
>>> --
>>> - CAS gitter chatroom: https://gitter.im/apereo/cas
>>> - CAS mailing list guidelines: https://apereo.github.io/cas/M
>>> ailing-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/ap
>>> ereo.org/d/msgid/cas-user/CAN6MV5PmHAd4A-Rb1nS35Bm8h5ft9OxVA
>>> 3Lprx4BWxzWERapnA%40mail.gmail.com
>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5PmHAd4A-Rb1nS35Bm8h5ft9OxVA3Lprx4BWxzWERapnA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> This email is sent on behalf of Northgate Public Services (UK) Limited
>> and its associated companies including Rave Technologies (India) Pvt
>> Limited (together "Northgate Public Services") and is strictly confidential
>> and intended solely for the addressee(s).
>> If you are not the intended recipient of this email you must: (i) not
>> disclose, copy or distribute its contents to any other person nor use its
>> contents in any way or you may be acting unlawfully; (ii) contact
>> Northgate Public Services immediately on +44(0)1908 264500
>> <+44%201908%20264500> quoting the name of the sender and the addressee
>> then delete it from your system.
>> Northgate Public Services has taken reasonable precautions to ensure that
>> no viruses are contained in this email, but does not accept any
>> responsibility once this email has been transmitted. You should scan
>> attachments (if any) for viruses.
>>
>> Northgate Public Services (UK) Limited, registered in England and Wales
>> under number 00968498 with a registered address of Peoplebuilding 2,
>> Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2
>> 4NN. Rave Technologies (India) Pvt Limited, registered in India under
>> number 117068 with a registered address of 2nd Floor, Ballard House, Adi
>> Marzban Marg, Ballard Estate, Mumbai, Maharashtra, India, 400001.
>>
>> --
>> - CAS gitter chatroom: https://gitter.im/apereo/cas
>> - CAS mailing list guidelines: https://apereo.github.io/cas/M
>> ailing-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/ap
>> ereo.org/d/msgid/cas-user/CAD0p8ptF15_j77ZsC27T6D_ceLmh%3Dk-
>> fwTCOKdFsq9poZqV2yg%40mail.gmail.com
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAD0p8ptF15_j77ZsC27T6D_ceLmh%3Dk-fwTCOKdFsq9poZqV2yg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> --
> - 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/CAN6MV5OzPOEHYM%2BfNAD_Pv%2BCOwVMfj9JPK%3Ddmp_
> EATJABxJTPQ%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5OzPOEHYM%2BfNAD_Pv%2BCOwVMfj9JPK%3Ddmp_EATJABxJTPQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
This email is sent on behalf of Northgate Public Services (UK) Limited and
its associated companies including Rave Technologies (India) Pvt Limited
(together "Northgate Public Services") and is strictly confidential and
intended solely for the addressee(s).
If you are not the intended recipient of this email you must: (i) not
disclose, copy or distribute its contents to any other person nor use its
contents in any way or you may be acting unlawfully; (ii) contact
Northgate Public Services immediately on +44(0)1908 264500 quoting the name
of the sender and the addressee then delete it from your system.
Northgate Public Services has taken reasonable precautions to ensure that
no viruses are contained in this email, but does not accept any
responsibility once this email has been transmitted. You should scan
attachments (if any) for viruses.
Northgate Public Services (UK) Limited, registered in England and Wales
under number 00968498 with a registered address of Peoplebuilding 2,
Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2
4NN. Rave Technologies (India) Pvt Limited, registered in India under
number 117068 with a registered address of 2nd Floor, Ballard House, Adi
Marzban Marg, Ballard Estate, Mumbai, Maharashtra, India, 400001.
--
- 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/CAD0p8pv-h-rTarycePbngLzrr-%3DkcraUU8U%3Do38PTmSzg%2BnukA%40mail.gmail.com.