This repository was archived by the owner on Dec 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/appirio/tech/core/service/identity/resource Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -817,7 +817,7 @@ public ApiResponse roles(
817817 @ FormParam ("email" ) String email ,
818818 @ FormParam ("handle" ) String handle ,
819819 @ Context HttpServletRequest request ) throws Exception {
820-
820+ logger . info ( "auth0 roles request." );
821821 if (Utils .isEmpty (email ) && Utils .isEmpty (handle ))
822822 throw new APIRuntimeException (SC_BAD_REQUEST , String .format (MSG_TEMPLATE_MANDATORY , "email/handle" ));
823823
@@ -832,13 +832,13 @@ public ApiResponse roles(
832832 if (user ==null ) {
833833 throw new APIRuntimeException (SC_UNAUTHORIZED , "Credentials are incorrect." );
834834 }
835-
835+ logger . info ( "auth0 roles: user found." );
836836 List <Role > roles = null ;
837837 if (user .getId () != null ) {
838838 roles = roleDao .getRolesBySubjectId (Long .parseLong (user .getId ().getId ()));
839839 }
840840 user .setRoles (roles );
841-
841+ logger . info ( "auth0 roles: roles assigned" );
842842 // temp - just for testing
843843 user .setRegSource (userDao .generateSSOToken (Long .parseLong (user .getId ().getId ())));
844844
You can’t perform that action at this time.
0 commit comments