Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZGNiN2Y1MGRlYjEwNDViMzhjOGI5YmEzOGVkZDUyNDIiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9805?atlOrigin=eyJpIjoiZGNiN2Y1MGRlYjEwNDViMzhjOGI5YmEzOGVkZDUyNDIiLCJwIjoiaiJ9
 ) GEOS-9805 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9805?atlOrigin=eyJpIjoiZGNiN2Y1MGRlYjEwNDViMzhjOGI5YmEzOGVkZDUyNDIiLCJwIjoiaiJ9
 ) Support transforming CAS response custom attributes into roles ( 
https://osgeo-org.atlassian.net/browse/GEOS-9805?atlOrigin=eyJpIjoiZGNiN2Y1MGRlYjEwNDViMzhjOGI5YmEzOGVkZDUyNDIiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Unassigned Components: CAS Created: 24/Nov/20 12:56 
PM Priority: Medium Reporter: Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 )

Currently role extraction si allowed from a group service, a role service, or 
from an HTTP header. CAS allows to add custom attributes in its XML response, 
e.g.:

```json
{
"serviceResponse" : {
"authenticationSuccess" : {
"user" : "username",
"proxyGrantingTicket" : "PGTIOU-84678-8a9d...",
"proxies" : [ "https://proxy1/pgtUrl";, "https://proxy2/pgtUrl"; ],
"attributes" :

{ "firstName" : "John", "affiliation" : [ "staff", "faculty" ], "title" : 
"Mr.", "email" : "[email protected]mailto:[email protected]";, "lastname" : "Doe" }

}
}
}
```

( 
https://osgeo-org.atlassian.net/browse/GEOS-9805#add-comment?atlOrigin=eyJpIjoiZGNiN2Y1MGRlYjEwNDViMzhjOGI5YmEzOGVkZDUyNDIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9805#add-comment?atlOrigin=eyJpIjoiZGNiN2Y1MGRlYjEwNDViMzhjOGI5YmEzOGVkZDUyNDIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100151- 
sha1:a1486db )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to