resourceName = resourceName + "_" + locale;
}
resourceName = resourceName + ".properties";
- is = Thread.currentThread().getContextClassLoader().getResourceAsStream( resourceName.toString() );
+ is = Thread.currentThread().getContextClassLoader().getResourceAsStream( resourceName );
if ( is != null )
{
properties.load( is );
// REDBACK-289/MRM-1488
// look for the user in the cache first
- LdapUser ldapUser = ldapCacheService.getUser( principal.toString() );
+ LdapUser ldapUser = ldapCacheService.getUser( principal );
if ( ldapUser != null )
{
log.debug( "User {} found in cache.", principal );