On Wed, Aug 29, 2012 at 4:44 PM, Lohit Valleru <[email protected]> wrote:
> 2012-08-29 09:35:34,545 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil
> @
> anonymous:session_id=C370B01B65343E7705E6F2D0385F63C6:ip_addr=0:0:0:0:0:0:0:1%0:failed_login:email=lohit.valleru,
> realm=null, result=5"

This gets printed here:

https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/utils/AuthenticationUtil.java#L120

Value of result:

    /** User or password is not appropriate for this method. */
    public static final int BAD_ARGS = 5;


> occuring . Please do let me know, if i have to attach my modified code, as i
> am not sure of the dspace-devel rules.

Your modified LDAPHierarchicalAuthentication.java would sure be useful
to find the problem :)

Judging from a quick reading of your email, you're doing it correctly.
There will surely be some detail that causes the problem.

Although I don't understand your use-case. You will have a form with
only username? Why use usernames at all if anyone can impersonate
anyone else? You could just leave everything readable for the
Anonymous group (no need for authentication).

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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to