@Override
    public Boolean login(Properties properties) {
        if (ramContext.validate()) {
            return true;
        }
        loadRoleName(properties);
        loadAccessKey(properties);
        loadSecretKey(properties);
        loadRegionId(properties);
        return true;
    }
@Test
    void testLoginWithRoleName() {
        assertTrue(ramClientAuthService.login(roleProperties));
        assertNull(ramContext.getAccessKey(), PropertyKeyConst.ACCESS_KEY);
        assertNull(ramContext.getSecretKey(), PropertyKeyConst.SECRET_KEY);
        assertEquals(PropertyKeyConst.RAM_ROLE_NAME, ramContext.getRamRoleName());
        assertTrue(ramClientAuthService.login(akSkProperties));
        assertNull(ramContext.getAccessKey(), PropertyKeyConst.ACCESS_KEY);
        assertNull(ramContext.getSecretKey(), PropertyKeyConst.SECRET_KEY);
        assertEquals(PropertyKeyConst.RAM_ROLE_NAME, ramContext.getRamRoleName());
    }