Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api
Class CallerPrincipalProvider

java.lang.Object
  extended by 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

Constructor Summary
CallerPrincipalProvider()
           
 
Method Summary
abstract  NuxeoPrincipal getCallerPrincipal()
           
static CallerPrincipalProvider getInstance()
           
static void setInstance(CallerPrincipalProvider cpp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallerPrincipalProvider

public CallerPrincipalProvider()
Method Detail

setInstance

public static void setInstance(CallerPrincipalProvider cpp)

getInstance

public static CallerPrincipalProvider getInstance()

getCallerPrincipal

public abstract NuxeoPrincipal getCallerPrincipal()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.