org.ow2.jonas.ejb2.internal
Class PrincipalFactoryImpl

java.lang.Object
  extended by org.ow2.jonas.ejb2.internal.PrincipalFactoryImpl
All Implemented Interfaces:
PrincipalFactory

public class PrincipalFactoryImpl
extends Object
implements PrincipalFactory

Defines an implementation of PrincipalFactory returning a Principal object


Constructor Summary
PrincipalFactoryImpl()
           
 
Method Summary
 Principal getCallerPrincipal(boolean inRunAs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalFactoryImpl

public PrincipalFactoryImpl()
Method Detail

getCallerPrincipal

public Principal getCallerPrincipal(boolean inRunAs)
Specified by:
getCallerPrincipal in interface PrincipalFactory
Parameters:
inRunAs - request comes from a runAs component ?
Returns:
a Principal object


Copyright © 2010 OW2 Consortium. All Rights Reserved.