org.nakedobjects.applib.switchuser
Interface SwitchUserService


public interface SwitchUserService

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

A suitable implementation is injected into AbstractFixture when installed.

See Also:
ProfileService

Method Summary
 void switchUser(java.lang.String username, java.lang.String... roles)
          Switches the current user with the list of specified roles.
 

Method Detail

switchUser

void switchUser(java.lang.String username,
                java.lang.String... roles)
Switches the current user with the list of specified roles.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.