org.objectweb.jonas_ejb.container
Interface PrincipalFactory
- All Known Implementing Classes:
- PrincipalFactoryImpl
public interface PrincipalFactory
PrincipalFactory. This factory can be JOnAS Server dependant. The Container
makes no assumption on how to get the Principal.
- Author:
- Christophe Ney
getCallerPrincipal
java.security.Principal getCallerPrincipal(boolean inRunAs)
- Parameters:
inRunAs
- bean calling this method is running in run-as mode or not ?
- Returns:
- the current caller principal or null if no principal