added log
This commit is contained in:
parent
72bb6c65ba
commit
1003c32ffc
|
@ -357,6 +357,7 @@ public class Notifications {
|
||||||
// check if the token belongs to an application token. In this case use J.A.R.V.I.S (the username used to communicate with Liferay)
|
// check if the token belongs to an application token. In this case use J.A.R.V.I.S (the username used to communicate with Liferay)
|
||||||
String username = null;
|
String username = null;
|
||||||
String fullName = "";
|
String fullName = "";
|
||||||
|
logger.debug("Catalogue Notification called by " + caller.getClient().getId() + " isUser?"+TokensUtils.isUserToken(caller));
|
||||||
if(!TokensUtils.isUserToken(caller)){
|
if(!TokensUtils.isUserToken(caller)){
|
||||||
GCubeUser jarvis = UserManagerWSBuilder.getInstance().getUserManager().getUserByEmail(LiferayJSONWsCredentials.getSingleton().getUser());
|
GCubeUser jarvis = UserManagerWSBuilder.getInstance().getUserManager().getUserByEmail(LiferayJSONWsCredentials.getSingleton().getUser());
|
||||||
SecurityTokenProvider.instance.set(LiferayJSONWsCredentials.getSingleton().getNotifierUserToken());
|
SecurityTokenProvider.instance.set(LiferayJSONWsCredentials.getSingleton().getNotifierUserToken());
|
||||||
|
|
Loading…
Reference in New Issue