Lines Matching refs:xContext

355     Reference< XCurrentContext > const & xContext )  in getDynamicRestriction()
358 if (xContext.is()) in getDynamicRestriction()
360 Any acc( xContext->getValueByName( s_acRestriction ) ); in getDynamicRestriction()
431 Reference< XCurrentContext > const & xContext,
702 Reference< XCurrentContext > const & xContext, in getEffectivePermissions()
725 if (xContext.is()) in getEffectivePermissions()
727 xContext->getValueByName( OUSTR(USER_CREDS ".id") ) >>= userId; in getEffectivePermissions()
895 Reference< XCurrentContext > xContext; in checkPermission() local
896 ::uno_getCurrentContext( (void **)&xContext, s_envType.pData, 0 ); in checkPermission()
897 Reference< security::XAccessControlContext > xACC( getDynamicRestriction( xContext ) ); in checkPermission()
907 getEffectivePermissions( xContext, perm ).checkPermission( perm ); in checkPermission()
926 Reference< XCurrentContext > xContext; in doRestricted() local
927 ::uno_getCurrentContext( (void **)&xContext, s_envType.pData, 0 ); in doRestricted()
931 new acc_CurrentContext( xContext, acc_Intersection::create( in doRestricted()
932 xRestriction, getDynamicRestriction( xContext ) ) ) ); in doRestricted()
934 cc_reset reset( xContext.get() ); in doRestricted()
959 Reference< XCurrentContext > xContext; in doPrivileged() local
960 ::uno_getCurrentContext( (void **)&xContext, s_envType.pData, 0 ); in doPrivileged()
963 getDynamicRestriction( xContext ) ); in doPrivileged()
969 new acc_CurrentContext( xContext, acc_Union::create( xRestriction, xOldRestr ) ) ); in doPrivileged()
971 cc_reset reset( xContext.get() ); in doPrivileged()
994 Reference< XCurrentContext > xContext; in getContext() local
995 ::uno_getCurrentContext( (void **)&xContext, s_envType.pData, 0 ); in getContext()
998 getDynamicRestriction( xContext ), in getContext()
999 new acc_Policy( getEffectivePermissions( xContext, Any() ) ) ); in getContext()