Package org.nuxeo.runtime.api.login
Interface LoginService
- All Known Implementing Classes:
LoginComponent
public interface LoginService
- Author:
- Bogdan Stefanescu
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isSystemId
(Principal principal) login()
System login, using a private principal that has all privileges.Deprecated.System login, using a private principal that has all privileges.
-
Method Details
-
login
NuxeoLoginContext login()System login, using a private principal that has all privileges. This principal is not stored in any database and cannot be accessed by user.- Returns:
- the login context
-
loginAs
System login, using a private principal that has all privileges. This principal is not stored in any database and cannot be accessed by user.- Parameters:
originatingUser
- the username that originated the system login- Returns:
- the login context
-
login
Deprecated.since 11.1, useFramework.loginUser(java.lang.String)
insteadClient login using the given username and password.- Throws:
LoginException
-
isSystemId
-
Framework.loginUser(java.lang.String)
instead