Package org.nuxeo.runtime.api.login
Interface LoginService
-
- All Known Implementing Classes:
LoginComponent
public interface LoginService
- Author:
- Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
isSystemId(Principal principal)
NuxeoLoginContext
login()
System login, using a private principal that has all privileges.NuxeoLoginContext
login(String username, Object credentials)
Deprecated.since 11.1, useFramework.loginUser(java.lang.String)
insteadNuxeoLoginContext
loginAs(String originatingUser)
System login, using a private principal that has all privileges.
-
-
-
Method Detail
-
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
NuxeoLoginContext loginAs(String originatingUser)
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 NuxeoLoginContext login(String username, Object credentials) throws LoginException
Deprecated.since 11.1, useFramework.loginUser(java.lang.String)
insteadClient login using the given username and password.- Throws:
LoginException
-
isSystemId
boolean isSystemId(Principal principal)
-
-