Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.api
Class CallerPrincipalProvider

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

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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.