org.nuxeo.ecm.core.api
Class CallerPrincipalProvider
java.lang.Object
org.nuxeo.ecm.core.api.CallerPrincipalProvider
public abstract class CallerPrincipalProvider
- extends Object
To install a provider call setInstance() method or set a system (or nuxeo)
property using as key the full name of this class and as value the full name
of the implementation.
This class exists to allow changing the logic of in case of JBoss5. Should
only be used by the CoreSession bean. See NXP-5647.
- Author:
- Bogdan Stefanescu
CallerPrincipalProvider
public CallerPrincipalProvider()
setInstance
public static void setInstance(CallerPrincipalProvider cpp)
getInstance
public static CallerPrincipalProvider getInstance()
getCallerPrincipal
public abstract NuxeoPrincipal getCallerPrincipal()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.