Contents
- Overview
- Before You Register Your Application URL
- Register Your Application URL
- Web Login process
- Access Control
- Sample Clients
- Frequently Asked Questions
- Troubleshooting
- Technical Support
Anchor | ||||
---|---|---|---|---|
|
...
In addition to authentication services (AuthN), UH Login (CAS) may also provide other information (attributes) about the authenticated subject. These attributes are released using the the SAML 1.1 protocol. A registered Web application may obtain attributes about the user to implement access control (authorization) decisions, beyond the simple determination that the user has successfully authenticated with their password. For example, if an application is designed to be accessible only to faculty, that app can compare the eduPersonAffiliation attribute to determine if the user is faculty. If you do not perform any access control then anyone in the UH Core LDAP Directory Service will be able to use your Web application. This includes all current people in the UH System as well as visitors allowed by the Visitor Internet Access (VIA).
...
- Will authentication include the release of attributes to your application?
- If yes, UH Data Governance guidelines apply. For each unique application you must submit a separate request. What that means is that you cannot register a single URL and host multiple applications under it.
- Is your application hosted on a non-UH server?
- If yes, your request may be subject to the UH Data Sharing Request process. Please send an inquiry to datagov@hawaii.edu or call 956-7487.
Anchor | ||||
---|---|---|---|---|
|
...
Append the following as needed:
- Login securely
cas/login
- provides service ticket
- Ticket validation
cas/validate
- Use HTTP
GET
- CAS protocol v1.0
- response is text delimited by
<LF>
- Use HTTP
cas/serviceValidate
- Use HTTP
GET
- CAS protocol v2.0
- response is XML
- Use HTTP
cas/samlValidate
- Use HTTP
POST
- provides attributes
- response is SAML 1.1
- Use HTTP
- Logout, destroy service tickets.
If your service is only interested in authenticating users and will not require a user object of released attributes, you should use either cas/validate
or cas/serviceValidate
. Their responses
...
- Redirect the client to the URL specified by the "
service
" parameter with a service ticket in a manner that will not cause the user's credentials to be forwarded to the your web application. The client uses the ticket provided as a parameter to one of CAS's validation methods.cas/validate
- Use HTTP
GET
- CAS protocol v1.0
- response is text delimited by
<LF>
- Use HTTP
cas/serviceValidate
- Use HTTP
GET
- CAS protocol v2.0
- response is XML
- Use HTTP
cas/samlValidate
- Use HTTP
POST
- provides attributes
- response is SAML 1.1
- Use HTTP
...
url
(DISABLED)Note Although Aperero's CAS protocol documentation describes the use the the
url
parameter, the Aperero developers have disabled it in recent versions of CAS to prevent potential abuse. Their explanation of the situation may be found in this thread from the cas-users mailing list. Theurl
parameter defined in the former CAS 2.0 specification is not a valid parameter in CAS 3.0 anymore. CAS Servers MUST ignore givenurl
parameters.
Examples
To logout a user and prevent her from automatically logging back into a Web application, the Web application can forward the user to the Logout URL of UH Login. That URL will destroy the ticket-granting cookie that enables the single sign-on feature and gives the user a page that informs them that they have logged out of UH Login.
No Format https://$WEBLOGIN-HOST/cas/logout
To logout a user and prevent her from automatically logging back into a Web application, the Web application can forward the user to the Logout URL of UH Login. That URL will destroy the ticket-granting cookie that enables the single sign-on feature and redirect the user to the URL identified by the
service
parameter.No Format https://$WEBLOGIN-HOST/cas/logout?service=https://myserver/myapp
Info The URL provided by the
service
parameter must be registered to use UH Login.
Note | ||
---|---|---|
| ||
Because SLO may affect other applications using SSO[*], it has been disabled as of the implementation of CAS 6.3.5.[*] From the CAS documentation for Single Logout (SLO):
|
...
Anyone that is in the UH Core LDAP Directory Service. In other words, current people in the UH System (ten campuses, system offices, some RCUH employees) and visitors (temporary guest accounts) managed by VIA. See the 13402875 overview above.
Why is the UH CAS Server sending requests to my webapp?
...
Application Not Authorized to Use UH Login
Problem:
Your application cannot successfully authentication against CAS.
Example error message:
Panel |
---|
The application you attempted to authenticate to is not authorized to use UH Login. |
Solutions:
Expand | ||
---|---|---|
|
...