this.roles = this.roles + role + ", ";
}
try {
jpsCtx = JpsContextFactory.getContextFactory().getContext();
IdentityStoreService service =
jpsCtx.getServiceInstance(IdentityStoreService.class);
idStore = service.getIdmStore();
User user = idStore.searchUser(secCntx.getUserName());
if (user != null) {
userProfile = user.getUserProfile();
PropertySet propSet = userProfile.getAllUserProperties();