There's an old thread in which Scott Battaglia explained why that's not
supported, but mainly it's because the application should not be aware of
the user's password.

http://jasig.275507.n4.nabble.com/authenticating-a-user-via-URL-parameters-td2067870.html

His suggestion of interacting with CAS programmatically is actually quite
simple.


On Thu, Feb 2, 2017 at 3:47 PM, Richard Yang <[email protected]>
wrote:

> I am using cas 4.2.7
> http://localhost/cas/login?username=xxx&password=yyyy just gives me the
> default cas login page.
> I understand I may need to attache a "login ticket" if not submitting a
> login form, but how to get a login ticket?
>
> The reason I want to use the cas login api in http request is to integrate
> cas sso with our existing login page.
> Please do not tell me I can custom my current login page with cas's jsp
> form based login. It is just too much work and jsp to us is a very old
> technology and not to be considered for new development.
>
> Thanks.
>
> Richard
>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/
> Mailing-Lists.html
> <http://spamburger.sju.edu/canit/urlproxy.php?_q=aHR0cHM6Ly9hcGVyZW8uZ2l0aHViLmlvL2Nhcy9NYWlsaW5nLUxpc3RzLmh0bWw%3D>
> - CAS documentation website: https://apereo.github.io/cas
> <http://spamburger.sju.edu/canit/urlproxy.php?_q=aHR0cHM6Ly9hcGVyZW8uZ2l0aHViLmlvL2Nhcw%3D%3D>
> - 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/3a86ad29-c804-4c44-bc57-
> 6389fdf2bd67%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/3a86ad29-c804-4c44-bc57-6389fdf2bd67%40apereo.org?utm_medium=email&utm_source=footer>
> .
>



-- 

Best regards,
--
Carlos M. Fernández
Enterprise Systems Manager
*Saint Joseph’s University*
Philadelphia PA 19131
T: +1 610 660 1501

-- 
- 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/CAE7KU850QUXH4NMQKkY6mBwzTh-MNFWn75J%3DuBo5ujLrys-ieA%40mail.gmail.com.

Reply via email to