Package org.nuxeo.ecm.core.api.local
Class ClientLoginModule
- java.lang.Object
-
- org.nuxeo.ecm.core.api.local.ClientLoginModule
-
@Deprecated public class ClientLoginModule extends Object
Deprecated.since 11.1, useLoginComponent
instead
-
-
Constructor Summary
Constructors Constructor Description ClientLoginModule()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
clearThreadLocalLogin()
Deprecated.since 11.1, useLoginComponent.clearPrincipalStack()
insteadstatic LoginStack.Entry
getCurrentLogin()
Deprecated.since 11.1, useLoginComponent.getCurrentPrincipal()
insteadstatic NuxeoPrincipal
getCurrentPrincipal()
Deprecated.since 11.1, useNuxeoPrincipal.getCurrent()
insteadstatic LoginStack
getThreadLocalLogin()
Deprecated.since 11.1, useLoginComponent
insteadstatic boolean
isCurrentAdministrator()
Deprecated.since 11.1, useNuxeoPrincipal.isCurrentAdministrator()
instead
-
-
-
Method Detail
-
clearThreadLocalLogin
@Deprecated public static void clearThreadLocalLogin()
Deprecated.since 11.1, useLoginComponent.clearPrincipalStack()
instead- Since:
- 5.7
-
getThreadLocalLogin
@Deprecated public static LoginStack getThreadLocalLogin()
Deprecated.since 11.1, useLoginComponent
instead
-
getCurrentLogin
@Deprecated public static LoginStack.Entry getCurrentLogin()
Deprecated.since 11.1, useLoginComponent.getCurrentPrincipal()
instead
-
getCurrentPrincipal
@Deprecated public static NuxeoPrincipal getCurrentPrincipal()
Deprecated.since 11.1, useNuxeoPrincipal.getCurrent()
insteadReturns the current loggedNuxeoPrincipal
from the login stack- Since:
- 5.6
-
isCurrentAdministrator
@Deprecated public static boolean isCurrentAdministrator()
Deprecated.since 11.1, useNuxeoPrincipal.isCurrentAdministrator()
instead- Since:
- 11.1
-
-