Agile (MOSC)

MOSC Banner

User failed to be authenticated.

in Agile (MOSC) 2 commentsAnswered

Agile version - 9.3.6.29

I am able to login to Agile plm UI but when trying to connect using sdk API using below code, always struck with error - Error code : 60062

Error message : Invalid username or password

Root Cause exception : javax.security.auth.login.LoginException: java.lang.SecurityException: User failed to be authenticated.

Code -
public static void main(String[] args) throws APIException {

String agileUrl = "https://agile.abc.com/Agile";

String agileUserName = "*****";

String agilePassword = "*******";

AgileSessionFactory factory = AgileSessionFactory.getInstance(agileUrl);

HashMap<Integer, String> params = new HashMap<Integer, String>();

params.put(AgileSessionFactory.USERNAME, agileUserName);

params.put(AgileSessionFactory.PASSWORD, agilePassword);

IAgileSession session = factory.createSession(params);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center