All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.applib.switchuser.SwitchUserService Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
package org.nakedobjects.applib.switchuser;

import org.nakedobjects.applib.fixtures.AbstractFixture;
import org.nakedobjects.applib.profiles.ProfileService;


/**
 * Not intended to be used directly; decouples the {@link AbstractFixture}, which needs to
 * be able to switch users dynamically, from the rest of the framework's runtime.
 * 
 * 

* A suitable implementation is injected into {@link AbstractFixture} when installed. * * @see ProfileService */ public interface SwitchUserService { /** * Switches the current user with the list of specified roles. */ void switchUser(String username, String... roles); } // Copyright (c) Naked Objects Group Ltd.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy