* @author Olivier Lamy
* @since 1.4-M4
*/
-@Service( "userManager#archiva" )
+@Service("userManager#archiva")
public class ArchivaConfigurableUsersManager
extends AbstractUserManager
{
private Map<String, UserManager> userManagerPerId;
@Inject
- @Named( value = "cache#users" )
+ @Named(value = "cache#users")
private Cache<String, User> usersCache;
private boolean useUsersCache;
{
if ( lastException != null )
{
+ if ( lastException instanceof UserNotFoundException )
+ {
+ throw (UserNotFoundException) lastException;
+ }
throw new UserManagerException( lastException.getMessage(), lastException );
}
}
}
-
@Override
public boolean isFinalImplementation()
{