Hi Kavitha,
Please replace the existing setAuthorized(String str) method as per below
code. We have changed it to be like setAuthorized(User user) now.
if (username.indexOf(CarbonConstants.DOMAIN_SEPARATOR) < 0 &&
UserCoreUtil.getDomainFromThreadLocal()
!= null &&
Hi Kavitha,
As you can see in [1], setAuthorizedUser is taking a User object but not a
String.
[1]
Hi IS team,
I'm getting an error[1] for Oauth2 custom grant type when generating access
token for grant type-mobile in IS-5.1.0-Alpha and I have noticed that there
is a resolved jira[2] says that "..fix provides support to add custom grant
types by allowing to add grant type validators..". I have
Hi Kavitha,
problem here is NoSuchMethodError exception. The reason for this exception
is when you build the jars that method (in your case setAuthorizedUser) is
available in to the compiling environment. but when your jar is in run
time, that method is not available.
If I extend the lakshani's