org.nuxeo.ecm.core.api
Class CallerPrincipalProvider
java.lang.Object
org.nuxeo.ecm.core.api.CallerPrincipalProvider
- Direct Known Subclasses:
- JBoss5CallerPrincipalProvider
public abstract class CallerPrincipalProvider
- extends java.lang.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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallerPrincipalProvider
public CallerPrincipalProvider()
setInstance
public static void setInstance(CallerPrincipalProvider cpp)
getInstance
public static CallerPrincipalProvider getInstance()
getCallerPrincipal
public abstract NuxeoPrincipal getCallerPrincipal()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.