@Override
    public Principal getCallerPrincipal(EJBComponentMetaData cmd, EJBRequestData request, SecurityCookieImpl preInvokeData) {
        String realm = null;
        boolean useRealmQualifiedUserNames = ejbSecConfig.getUseRealmQualifiedUserNames();
        if (useRealmQualifiedUserNames) {
            realm = collabUtils.getUserRegistryRealm(securityServiceRef);
        }
        return collabUtils.getCallerPrincipal(ejbSecConfig.getUseRealmQualifiedUserNames(), realm, false, false);
    }
@ Override public Principal getCallerPrincipal ( EJBComponentMetaData cmd , EJBRequestData request , SecurityCookieImpl preInvokeData ) { String realm = null ; boolean useRealmQualifiedUserNames = ejbSecConfig . getUseRealmQualifiedUserNames ( ) ; if ( useRealmQualifiedUserNames ) { realm = collabUtils . getUserRegistryRealm ( securityServiceRef ) ; } return collabUtils . getCallerPrincipal ( ejbSecConfig . getUseRealmQualifiedUserNames ( ) , realm , false , false ) ; }
{@inheritDoc}