Hi Sean,

Checking the following, it looks ok. However I am no java expert!
https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/authentication-password.cfg
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/authenticate/PasswordAuthentication.java#L53-L93

Cheers

hg


*Hilton Gibson*
Stellenbosch University Library
*http://orcid.org/0000-0002-2992-208X
<http://orcid.org/0000-0002-2992-208X>*


On 10 February 2016 at 09:42, Sean Carte <[email protected]> wrote:

> OK, so the silence is deafening ...
>
> Please can anybody tell me if they are using LDAP authentication together
> with Password authentication and successfully restricting registrations to
> specific domains?
>
> If it is just me with the problem, I need to do something about it.
>
> Sean
>
> On 9 February 2016 at 11:58, Sean Carte <[email protected]> wrote:
>
>> If I include LDAPAuthentication in my authentication.cfg
>> plugin.sequence.org.dspace.authenticate.AuthenticationMethod string, the
>> domain.valid setting in my authentication-password.cfg file appears to be
>> ignored.
>>
>> I want to prevent registrations of users without @dut.ac.za addresses,
>> but also allow log-in via LDAP. Is this not possible, or have I
>> misconfigured something?
>>
>> This is what's in my authentication.cfg file:
>>
>> plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
>>         org.dspace.authenticate.PasswordAuthentication, \
>>         org.dspace.authenticate.LDAPAuthentication
>>
>> And this is my authentication-password.cfg file:
>> domain.valid = @dut.ac.za, @dut4life.ac.za
>>
>> Removing the LDAPAuthentication line from authentication.cfg prevents
>> registration of users without valid domains, otherwise it succeeds.
>>
>> XMLUI (Mirage2, etc.), DSpace 5.4, Tomcat 7, OpenJDK 1.7.0_95, Ubuntu
>> Linux 14.04
>>
>> Sean
>> --
>>
>>
>
>
> --
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to