hibernate/src/java/org/apache/fulcrum/security/hibernate/turbine/HibernateModelManagerImpl.java [257:277]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (!roleExists)
        {
            throw new UnknownEntityException("Unknown role '" + role.getName() + "'");
        }
        if (!groupExists)
        {
            throw new UnknownEntityException("Unknown group '" + group.getName() + "'");
        }
        if (!userExists)
        {
            throw new UnknownEntityException("Unknown user '" + user.getName() + "'");
        }
    }

    @Override
    public void replace( User user, Role oldRole, Role newRole )
        throws DataBackendException, UnknownEntityException
    {
        Group group = getGlobalGroup();
        revoke( user, group, oldRole );
        grant( user, group, newRole );
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



memory/src/java/org/apache/fulcrum/security/memory/turbine/MemoryTurbineModelManagerImpl.java [210:231]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (!roleExists)
        {
            throw new UnknownEntityException("Unknown role '" + role.getName() + "'");
        }
        if (!groupExists)
        {
            throw new UnknownEntityException("Unknown group '" + group.getName() + "'");
        }
        if (!userExists)
        {
            throw new UnknownEntityException("Unknown user '" + user.getName() + "'");
        }

    }

    @Override
    public void replace( User user, Role oldRole, Role newRole )
        throws DataBackendException, UnknownEntityException
    {
        Group group = getGlobalGroup();
        revoke( user, group, oldRole );
        grant( user, group, newRole );
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



