Has anybody successfully set special groups using a custom authentication scheme and the xmlui in DSpace 1.5.2? We use our campus WebSSO authentication - pubcookie - which populates the REMOTE_USER environment variable with the NetID of the user. Pubcookie is implemented as an apache module, and we run Apache 2.x in front of DSpace using mod_jk. That all works fine, and our PubcookieAuthentication class behaves as expected as an implicit authN method.
I now need to set the special group "UW_Users" for a subset of pubcookie users. Some may be registered users, others may not. I have a PubcookieGroups class, and its getSpecialGroups() method sets the special group UW_Users in the for my desired subset of pubcookie users. That works OK for users who come in having authenticated to the WebSSO system already (and so do not have to "login" to DSpace), but fails for users whom I send through the pubcookie-login sequence within DSpace. I have the authentication stack setup so that PubcookieAuthentication is invoked before PubcookieGroups, and I've verified that PubcookieGroups.getSpecialGroups() is being called during the pubcookie-login sequence. When I emerge from the black hole that is Cocoon, I'm logged in but without my special groups attached. I've looked at the LDAP authentication code and at the X509Cert code as examples, but I still can't figure out where/why these special groups are disappearing during the login sequence and what I need to do so that they persist for the duration of the session. Any ideas would be appreciated at this stage. --Bill **************************************************************** William Jordan Associate Dean University of Washington Libraries Resource Acquisition and Description/ Information Technology Services Box 352900, Seattle, WA 98195-2900 Voice: (206) 685-1625 Fax: (206) 543-5457 **************************************************************** ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

