if (log.isTraceEnabled()) {
Tools.logMethodIn(log, LogLevel.TRACE, "findUserByUniqueAttribute", new Object[] { "findUserByUniqueAttribute",
attributeName, attributeValue, userStatus });
}
IdentitySession session = service_.getIdentitySession();
org.picketlink.idm.api.User plUser = null;
try {
orgService.flush();
plUser = session.getAttributesManager().findUserByUniqueAttribute(attributeName, attributeValue);
} catch (Exception e) {
handleException("Cannot find user by unique attribute: attrName=" + attributeName + ", attrValue=" + attributeValue
+ "; ", e);
}