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]> 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])
> Operations - Barcelona Supercomputing Center
> C/ Jordi Girona, 31  http://www.bsc.es
> 08034 Barcelona, Spain Tel: +34-93-405 42 14
> e-mail: [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.

-- 
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/A7C143A5-9127-44A4-A561-C548E2685F00%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to