External Auth Failure

Description

External auth from pre Sakai virtual campus using Sakai 2.6.2
http://myuni.mu.edu/sakai-axis/SakaiLogin.jws?wsdl
to create a session before passing it to sakai as
http://myuni.mu.edu/portal?sakai.session=my_session

With Sakai 2.7.1 doesn't work, session is retured but we get asked to logon to sakai again, also session is not inserted in the SAKAI_SESSION table??

Hoping it might just be a config property in our sakai.properties file

(for example 'webservices.allowlogin' we have set to true)

Side issue: Attempting to recover JSESSIONID Sakai cookie in old virtual campus java serlvet,
returns a session but not a valid sakai session (all in upper case for example)

try {
Cookie arrayCookies[] = request.getCookies();
for (int i = 0; i < arrayCookies.length; i++) {
Cookie cookie = arrayCookies[i];

if (cookie.getName().equals("JSESSIONID")) {

sakai_session = cookie.getValue();
break;
}
}
} catch (Exception ex) {}

Stymied

Regards

Activity

Paul ODonnell November 29, 2010 at 12:47 AM

Yes, resolved
In 2.7.1 the sakai.properties file needs changes

webservices.allowlogin=true
webservice.specialUsers=admin,postmaster
webservices.allow=.*

session.parameter.allow=true (a parameter that's undocumented it seems)

Sam Ottenhoff November 23, 2010 at 6:51 AM

Was this issue resolved? I cannot reproduce the issue locally.

Cannot Reproduce

Details

Priority

Affects versions

Components

Assignee

Reporter

Created November 3, 2010 at 4:18 AM
Updated March 27, 2012 at 10:12 AM
Resolved November 23, 2010 at 6:51 AM