On Wed, May 2, 2012 at 10:41 AM, johnson sikhumbuzo Dlamini
<[email protected]> wrote:
> PROBLEM: When you login, you are presented with two links to specify whether
> you want password login or ldap login. However, when either of these links
> is clicked the resultant login screen expects similar inputs (i.e. the
> e-mail and pass-word). I expected to be prompted for the user-name and
> password when I click the ldap-login option.
Hi Johnson,
with a clean DSpace installation what you should see after you choose
our authentication method is E-Mail Address/Password (for
/password-login) and User Name/Password (for /ldap-login). If you see
something different, perhaps it is a result of some of your
customizations?
Your configuration might look like this (don't forget to restart
Tomcat everytime after changing it):
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
org.dspace.authenticate.PasswordAuthentication, \
org.dspace.authenticate.LDAPHierarchicalAuthentication
Anyway, regardless of the strings you see in the login form and
regardless of which login form you see, the authentication methods you
configured will be tried in turn, because of the way the DSpace
authentication currently "stacks" methods. So even if you enter
login/password into /ldap-login and ldap_id/password into
/password-login, you should be successfuly logged in. This is
described in https://jira.duraspace.org/browse/DS-367
Regards,
~~helix84
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech