You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fortress@directory.apache.org by Ramandeep Singh Nanda <ra...@gmail.com> on 2016/12/15 18:01:02 UTC

Logging into commander with test users RC-2.0.1

Hi,

I am unable to login to the commander application, even though the password
is correct and I verified that using the Apache DS viewer ? Any pointers?

The application is just saying "Invalid userid or password detected"

-- 
Regards,
Ramandeep Singh
ramannanda9@gmail.com

Re: Logging into commander with test users RC-2.0.1

Posted by Shawn McKinney <sm...@apache.org>.
> On Dec 15, 2016, at 12:01 PM, Ramandeep Singh Nanda <ra...@gmail.com> wrote:
> 
> 
> I am unable to login to the commander application, even though the password
> is correct and I verified that using the Apache DS viewer ? Any pointers?
> 
> The application is just saying "Invalid userid or password detected"

Hello Ramandeep,

what do the tomcat logs tell you?  For example if I try to log in with a userid that isn’t present:

WARN  - 14 Dec 2016 16:13:11,398 - TcAccessMgrImpl            - org.apache.directory.fortress.realm.tomcat.TcAccessMgrImpl.authenticate userId <test9> caught SecurityException=
org.apache.directory.fortress.core.FinderException: getUser userId [test9] not found, Fortress rc=1005
	at org.apache.directory.fortress.core.impl.UserDAO.getUser(UserDAO.java:653)
	

or if pw isn’t correct:

WARN  - 14 Dec 2016 16:14:27,099 - TcAccessMgrImpl            - org.apache.directory.fortress.realm.tomcat.TcAccessMgrImpl.authenticate userId <test> caught SecurityException=
org.apache.directory.fortress.core.PasswordException: PASSWORD INVALID for userId [test], resultCode [INVALID_CREDENTIALS]
	

Thanks,
Shawn