Package org.nuxeo.runtime.api.login
Interface LoginAs
-
- All Known Implementing Classes:
LoginAsImpl
public interface LoginAs
This service is performing a login under another identity without checking the password.You must never use this service explicitly in your code since it may be removed in future. Instead you should use
Framework.loginUser(String)
.Implementors must implement this interface and expose the implementation as a Nuxeo service.
- Since:
- 5.4.0.2
- Author:
- Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NuxeoLoginContext
loginAs(String username)
Perform the Login As.
-
-
-
Method Detail
-
loginAs
NuxeoLoginContext loginAs(String username) throws LoginException
Perform the Login As.- Throws:
LoginException
-
-