Add it after ldap handler

> On Jul 11, 2016, at 11:08 AM, Josep Manel Andrés <[email protected]> wrote:
> 
> Right , that seems to be what I need, but for 4.0.x, that is the version I am 
> running.
> But now I have a problem, if I add FileAuthenticationHandler just right 
> before ldapauthenticationhandler it can be deployed to the server but not 
> authenticating with the username defined in the file.
> (I've added cas-server-support-generic support)
> 
> On the logs I never see the app going to look for users defined on the file.
> 
> 
> I have tried both: AcceptUsersAuthenticationHandler too, but it never 
> compiles....
> 
> Thank you.
> 
> 
> 
> On 11/07/16 16:16, Dmitriy Kopylenko wrote:
>> You haven’t specified the version of CAS that you use, so I’ll assume
>> the latest. This might solve your use case:
>> https://apereo.github.io/cas/4.2.x/installation/Whitelist-Authentication.html
>>  
>> <https://apereo.github.io/cas/4.2.x/installation/Whitelist-Authentication.html>
>> 
>> Cheers,
>> D.
>> 
>>> On Jul 11, 2016, at 9:59 AM, Josep Manel Andrés <[email protected] 
>>> <mailto:[email protected]>
>>> <mailto:[email protected] <mailto:[email protected]>>> wrote:
>>> 
>>> Hi,
>>> I am using CAS to login to our webapps as a normal users, but when we
>>> want to do admin task, we need to login as a root (to our webapps )
>>> and since we only have one authenticationHandler, which is
>>> ldapAuthenticationHandler, so I could not find a way to define a
>>> static root user with an static password, so the behavour wold be
>>> something like.
>>> 
>>> Try to log in using ldapAuthenticationHandler, and if this doesn't
>>> work, then try to login with root account defined statically, and if
>>> it doesn't, then  do nothing.
>>> 
>>> Best regards.
>>> 
>>> --
>>> Josep Manel Andrés ([email protected] <mailto:[email protected]> 
>>> <mailto:[email protected] <mailto:[email protected]>>)
>>> Operations - Barcelona Supercomputing Center
>>> C/ Jordi Girona, 31 http://www.bsc.es <http://www.bsc.es/>
>>> 08034 Barcelona, Spain Tel: +34-93-405 42 14
>>> e-mail: [email protected] <mailto:[email protected]> <mailto:[email protected] 
>>> <mailto:[email protected]>> Fax: +34-93-413 77 21
>>> -----------------------------------------------
>>> 
>>> WARNING / LEGAL TEXT: This message is intended only for the use of the
>>> individual or entity to which it is addressed and may contain
>>> information which is privileged, confidential, proprietary, or exempt
>>> from disclosure under applicable law. If you are not the intended
>>> recipient or the person responsible for delivering the message to the
>>> intended recipient, you are strictly prohibited from disclosing,
>>> distributing, copying, or in any way using this message. If you have
>>> received this communication in error, please notify the sender and
>>> destroy and delete any copies you may have received.
>>> 
>>> http://www.bsc.es/disclaimer
>>> 
>>> --
>>> 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/5783A634.50605%40bsc.es.
>>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>> 
> 
> -- 
> Josep Manel Andrés ([email protected] <mailto:[email protected]>)
> Operations - Barcelona Supercomputing Center
> C/ Jordi Girona, 31  http://www.bsc.es <http://www.bsc.es/>
> 08034 Barcelona, Spain Tel: +34-93-405 42 14
> e-mail: [email protected] <mailto:[email protected]> Fax: +34-93-413 77 21
> -----------------------------------------------
> 
> WARNING / LEGAL TEXT: This message is intended only for the use of the
> individual or entity to which it is addressed and may contain
> information which is privileged, confidential, proprietary, or exempt
> from disclosure under applicable law. If you are not the intended
> recipient or the person responsible for delivering the message to the
> intended recipient, you are strictly prohibited from disclosing,
> distributing, copying, or in any way using this message. If you have
> received this communication in error, please notify the sender and
> destroy and delete any copies you may have received.
> 
> http://www.bsc.es/disclaimer <http://www.bsc.es/disclaimer>
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/ 
> <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/5783B652.8060606%40bsc.es
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/5783B652.8060606%40bsc.es>.
> For more options, visit https://groups.google.com/a/apereo.org/d/optout 
> <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].
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/7891FCF2-D6A7-443B-9E7E-66F07399A75C%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to