Hello everyone. I'm implementing a new custom AuthenticationProvider.

Hello everyone.
I'm implementing a new custom AuthenticationProvider. When I run it, it displays the following warn and does not follow the authentication process:
WARN com.appiancorp.security.auth.AuthenticationEventLoggerListener - Cannot retrieve the detailed metadata about the login event. The details bean inside the authentication token should be an instance of com.appiancorp.security.auth.AuthenticationDetails. Authentication.getDetails()=null


This is the code:
AppianUserDetails ud = new AppianUserDetails (userProfile, PasswordStatus.NORMAL, role);
UsernamePasswordAuthenticationToken resultAuth = new UsernamePasswordAuthenticationToken(ud, null, ud.getAuthorities());
resultAuth.setDetails(ud);

Any suggestion? Thanks....

OriginalPostID-84584

OriginalPostID-84584

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data