[ 
http://jira.dspace.org/jira/browse/DS-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10172#action_10172
 ] 

E. Stuart Hicks commented on DS-48:
-----------------------------------

The patch that Keith posted is mine.  Please bear in mind that I'm only about 3 
days or so into doing anything with DSpace so side-effects are possible if 
there are non-obvious interactions between ShibAuthentication.java and the 
standard login code.

If the account doesn't exist and auto reg is turned on then it will register 
it.  Therefore, any account you use as the default should already exist and 
have no more permissions than what you would give someone that you know 
absolutely nothing about other than that they're able to authenticate against 
Shib.  Determining whether or not we can lock an account down sufficiently and, 
if not, what code changes would be required to do so is something I'd planned 
to start looking into next week.

The additional if clause was put at the end of the chain so it would only be 
used if both email-default was defined and all other possible credential 
sources had failed.  If 'email' has been populated by something else, it won't 
evaluate to null and be overwritten.

> shibboleth+dspace1.5.1 patch - ID: 2412723
> ------------------------------------------
>
>                 Key: DS-48
>                 URL: http://jira.dspace.org/jira/browse/DS-48
>             Project: DSpace 1.x
>          Issue Type: New Feature
>    Affects Versions: 1.5.1
>            Reporter: Charles Kiplagat
>            Assignee: Mark Diggory
>             Fix For: 1.5.2
>
>         Attachments: shib-dspace3613, shib-dspace3613-new
>
>
> This is the shibboleth patch for dspace1.5.1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to